patch-pptp_c 534 B

1234567891011
  1. --- pptp-1.8.0.orig/pptp.c 2013-10-23 10:10:46.000000000 +0200
  2. +++ pptp-1.8.0/pptp.c 2013-12-22 11:40:01.000000000 +0100
  3. @@ -447,7 +447,7 @@ struct in_addr get_ip_address(char *name
  4. if (host == NULL) {
  5. if (h_errno == HOST_NOT_FOUND)
  6. fatal("gethostbyname '%s': HOST NOT FOUND", name);
  7. - else if (h_errno == NO_ADDRESS)
  8. + else if (h_errno == NO_DATA)
  9. fatal("gethostbyname '%s': NO IP ADDRESS", name);
  10. else
  11. fatal("gethostbyname '%s': name server error", name);