diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-06 09:53:25 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-06 09:53:25 +0100 |
commit | 2288ec26df8e47d9b699e46eecd05eb3570f03a0 (patch) | |
tree | 1d204b70e027fd737f6aae1b7308ae959f5bd0b9 /package/pptp/patches/patch-pptp_c | |
parent | 45e7808c41c2e66266f738aa5eff70ce18cc04ac (diff) | |
parent | 667bc9e981847a1d117a2fc7110948075a268bdd (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/pptp/patches/patch-pptp_c')
-rw-r--r-- | package/pptp/patches/patch-pptp_c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/pptp/patches/patch-pptp_c b/package/pptp/patches/patch-pptp_c new file mode 100644 index 000000000..7a4cfb520 --- /dev/null +++ b/package/pptp/patches/patch-pptp_c @@ -0,0 +1,11 @@ +--- pptp-1.8.0.orig/pptp.c 2013-10-23 10:10:46.000000000 +0200 ++++ pptp-1.8.0/pptp.c 2013-12-22 11:40:01.000000000 +0100 +@@ -447,7 +447,7 @@ struct in_addr get_ip_address(char *name + if (host == NULL) { + if (h_errno == HOST_NOT_FOUND) + fatal("gethostbyname '%s': HOST NOT FOUND", name); +- else if (h_errno == NO_ADDRESS) ++ else if (h_errno == NO_DATA) + fatal("gethostbyname '%s': NO IP ADDRESS", name); + else + fatal("gethostbyname '%s': name server error", name); |