summaryrefslogtreecommitdiff
path: root/net/linuxigd/files/patch-gateway.cpp
blob: ce5f1109014d2224a47421404c53371580577b63 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- gateway.cpp.orig	Sat May 18 05:11:23 2002
+++ gateway.cpp	Sat Aug  3 22:10:54 2002
@@ -49,6 +49,7 @@
 
 // The global GATE object
 Gate gate;
+char *ExtIf;
 
 // Callback Function wrapper.  This is needed because ISO forbids a pointer to a bound
 // member function.  This corrects the issue.
@@ -140,6 +141,7 @@
 		UpnpFinish();
 		exit(1);
 	}
+	ExtIf = argv[1];
 	gate.m_ipcon = new IPCon(argv[1]);
 	syslog(LOG_DEBUG, "Registering the root device\n");
 	if ((ret = UpnpRegisterRootDevice(desc_doc_url, GateDeviceCallbackEventHandler,