Don't open a socket, since we don't use it.

Also removed fSocket from the class.
This commit is contained in:
Stefano Ceccherini
2013-04-06 19:36:52 +02:00
parent 0837d6c650
commit cb5f68f44c
2 changed files with 0 additions and 3 deletions
@@ -98,7 +98,6 @@ EthernetSettingsView::EthernetSettingsView()
{
SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR));
fSocket = socket(AF_INET, SOCK_DGRAM, 0);
_GatherInterfaces();
// build the GUI
@@ -216,7 +215,6 @@ EthernetSettingsView::EthernetSettingsView()
EthernetSettingsView::~EthernetSettingsView()
{
close(fSocket);
}
@@ -79,7 +79,6 @@ private:
Settings* fCurrentSettings;
int32 fStatus;
int fSocket;
};
#endif /* ETHERNET_SETTINGS_VIEW_H */