summaryrefslogtreecommitdiff
path: root/package/pptp/patches/patch-pptp_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-12-22 11:40:53 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-12-22 11:40:53 +0100
commitb247e33b4c8eef9ef3b9ecd1d8f75b815f434cf3 (patch)
tree594a9c24a46359b4f4f5da4e9ebc9530d878dccd /package/pptp/patches/patch-pptp_c
parent680045b01f466e4c14909d8101436b4e0c212580 (diff)
fix musl compile, update to latest upstream
Diffstat (limited to 'package/pptp/patches/patch-pptp_c')
-rw-r--r--package/pptp/patches/patch-pptp_c11
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);