mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-06 11:41:52 +00:00
af66874f38
This project is a deamon that emulates Microsoft's Internet Connection Service (ICS). It implements the UPnP Internet Gateway Device specification (IGD) and allows UPnP aware clients, such as MSN Messenger to work properly from behind a NAT firewall. PR: ports/41295 Submitted by: Yen-Ming Lee <leeym@utopia.leeym.com> Submitter sponsored by: Miss WeiWei.
19 lines
542 B
C++
19 lines
542 B
C++
--- 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,
|