Lines 1-15
Link Here
|
1 |
--- noip2.c.orig Tue Feb 20 22:12:22 2007 |
1 |
--- noip2.c.orig 2007-08-27 23:54:19.000000000 +0200 |
2 |
+++ noip2.c Sun Feb 25 18:47:38 2007 |
2 |
+++ noip2.c 2007-12-24 12:25:18.000000000 +0100 |
3 |
@@ -176,7 +176,7 @@ |
3 |
@@ -185,7 +185,7 @@ |
4 |
#define CLIENT_IP_PORT 8245 |
4 |
#define CLIENT_IP_PORT 8245 |
5 |
|
5 |
|
6 |
#define VERSION "2.1.4" |
6 |
#define VERSION "2.1.7" |
7 |
-#define USER_AGENT "User-Agent: Linux-DUC/"VERSION |
7 |
-#define USER_AGENT "User-Agent: Linux-DUC/"VERSION |
8 |
+#define USER_AGENT "User-Agent: FreeBSD-DUC/"VERSION |
8 |
+#define USER_AGENT "User-Agent: FreeBSD-DUC/"VERSION |
9 |
#define SETTING_SCRIPT "settings.php?" |
9 |
#define SETTING_SCRIPT "settings.php?" |
10 |
#define USTRNG "username=" |
10 |
#define USTRNG "username=" |
11 |
#define PWDSTRNG "&pass=" |
11 |
#define PWDSTRNG "&pass=" |
12 |
@@ -283,7 +283,7 @@ |
12 |
@@ -292,7 +292,7 @@ |
13 |
#define CMSG21 "Please select the Internet interface from this list.\n" |
13 |
#define CMSG21 "Please select the Internet interface from this list.\n" |
14 |
#define CMSG22 "By typing the number associated with it." |
14 |
#define CMSG22 "By typing the number associated with it." |
15 |
#define CMSG23 "Too many network devices. Limit is %d" |
15 |
#define CMSG23 "Too many network devices. Limit is %d" |
Lines 18-24
Link Here
|
18 |
#define CMSG25 "Can't create config file (%s)" |
18 |
#define CMSG25 "Can't create config file (%s)" |
19 |
#define CMSG25a "Re-run noip, adding '-c configfilename' as a parameter." |
19 |
#define CMSG25a "Re-run noip, adding '-c configfilename' as a parameter." |
20 |
#define CMSG26 "Can't rename config file (%s)" |
20 |
#define CMSG26 "Can't rename config file (%s)" |
21 |
@@ -490,7 +490,7 @@ |
21 |
@@ -502,7 +502,7 @@ |
22 |
fprintf(stderr, "[ -d][ -D pid]"); |
22 |
fprintf(stderr, "[ -d][ -D pid]"); |
23 |
#endif |
23 |
#endif |
24 |
fprintf(stderr, "[ -i addr][ -S][ -M][ -h]"); |
24 |
fprintf(stderr, "[ -i addr][ -S][ -M][ -h]"); |
Lines 27-33
Link Here
|
27 |
fprintf(stderr, "Options: -C create configuration data\n"); |
27 |
fprintf(stderr, "Options: -C create configuration data\n"); |
28 |
fprintf(stderr, " -F force NAT off\n"); |
28 |
fprintf(stderr, " -F force NAT off\n"); |
29 |
fprintf(stderr, " -Y select all hosts/groups\n"); |
29 |
fprintf(stderr, " -Y select all hosts/groups\n"); |
30 |
@@ -2058,17 +2058,12 @@ |
30 |
@@ -2119,17 +2119,12 @@ |
31 |
dq = (unsigned char *)devs; // point at name list |
31 |
dq = (unsigned char *)devs; // point at name list |
32 |
for (ifa = ifap; ifa; ifa = ifa->ifa_next) { |
32 |
for (ifa = ifap; ifa; ifa = ifa->ifa_next) { |
33 |
if (ifa->ifa_addr->sa_family == AF_LINK) { |
33 |
if (ifa->ifa_addr->sa_family == AF_LINK) { |