Lines 1-15
Link Here
|
1 |
--- noip2.c.orig Fri Jan 2 18:14:09 2004 |
1 |
--- noip2.c.orig Fri Jan 9 06:18:39 2004 |
2 |
+++ noip2.c Thu Jan 8 14:45:57 2004 |
2 |
+++ noip2.c Thu Jan 29 12:45:11 2004 |
3 |
@@ -153,7 +153,7 @@ |
3 |
@@ -156,7 +156,7 @@ |
4 |
#define CLIENT_IP_PORT 8245 |
4 |
#define CLIENT_IP_PORT 8245 |
5 |
|
5 |
|
6 |
#define VERSION "2.1" |
6 |
#define VERSION "2.1.1" |
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 |
@@ -258,7 +258,7 @@ |
12 |
@@ -264,7 +264,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 |
@@ -450,7 +450,7 @@ |
21 |
@@ -466,7 +466,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 |
@@ -1935,17 +1935,12 @@ |
30 |
@@ -1984,17 +1984,12 @@ |
31 |
dq = devs; // point at name list |
31 |
dq = 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) { |