summaryrefslogtreecommitdiff
path: root/dns/noip/files/patch-noip2.c
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-10-05 19:59:13 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-10-05 19:59:13 +0000
commitb41e4b82b7c159d3d3212252a6304dd87a91be31 (patch)
tree0abeda969574955f69f9d71fb163a118316d4d13 /dns/noip/files/patch-noip2.c
parentUpgrade to version 1.9.10. (diff)
- Update to version 2.0.12
- Approved by maintainer PR: 56180 Submitted by: Dan Larsson <ports@tyfon.net>
Notes
Notes: svn path=/head/; revision=90325
Diffstat (limited to 'dns/noip/files/patch-noip2.c')
-rw-r--r--dns/noip/files/patch-noip2.c46
1 files changed, 46 insertions, 0 deletions
diff --git a/dns/noip/files/patch-noip2.c b/dns/noip/files/patch-noip2.c
new file mode 100644
index 000000000000..8ddeeaad96d4
--- /dev/null
+++ b/dns/noip/files/patch-noip2.c
@@ -0,0 +1,46 @@
+--- noip2.c.orig Sat May 24 00:55:14 2003
++++ noip2.c Fri Aug 29 10:50:06 2003
+@@ -141,7 +141,7 @@
+
+ #define VERSION "2.0.12"
+ #define NOIP_NAME "dynupdate.no-ip.com"
+-#define USER_AGENT "User-Agent: Linux DUC "VERSION
++#define USER_AGENT "User-Agent: FreeBSD DUC "VERSION
+ #define SETTING_SCRIPT "settings.php?"
+ #define USTRNG "username="
+ #define PWDSTRNG "&pass="
+@@ -246,7 +246,7 @@
+ #define CMSG21 "Please select the Internet interface from this list.\n"
+ #define CMSG22 "By typing the number associated with it."
+ #define CMSG23 "Too many network devices. Limit is %d"
+-#define CMSG24 "\nAuto configuration for Linux client of no-ip.com.\n"
++#define CMSG24 "\nAuto configuration for FreeBSD client of no-ip.com.\n"
+ #define CMSG25 "Can't create config file (%s)"
+ #define CMSG25a "Re-run noip, adding '-c configfilename' as a parameter."
+ #define CMSG26 "Can't rename config file (%s)"
+@@ -438,7 +438,7 @@
+ fprintf(stderr, "[ -d][ -D pid]");
+ #endif
+ fprintf(stderr, "[ -i addr][ -S][ -M][ -h]");
+- fprintf(stderr, "\n\nVersion Linux-%s\n", VERSION);
++ fprintf(stderr, "\n\nVersion FreeBSD-%s\n", VERSION);
+ fprintf(stderr, "Options: -C create configuration data\n");
+ fprintf(stderr, " -F force NAT off\n");
+ fprintf(stderr, " -Y select all hosts/groups\n");
+@@ -1884,12 +1884,10 @@
+ for (ifa = ifap; ifa; ifa = ifa->ifa_next) {
+ if (ifa->ifa_addr->sa_family == AF_LINK) {
+ struct if_data *ifd = (struct if_data *) ifa->ifa_data;
+- if (ifd->ifi_type == IFT_PFLOG
+- || ifd->ifi_type == IFT_PFSYNC
+- || ifd->ifi_type == IFT_ENC
+- || ifd->ifi_type == IFT_BRIDGE
+- || ifd->ifi_type == IFT_OTHER
+- || ifd->ifi_type == IFT_GIF)
++ if (ifd->ifi_type == IFT_OTHER
++ || ifd->ifi_type == IFT_GIF
++ || ifd->ifi_type == IFT_LOOP
++ || ifd->ifi_type == IFT_FAITH)
+ continue;
+ q = dq; // add new name into list
+ p = ifa->ifa_name;