Skip to content
  • Michał Kępień's avatar
    Replace getquad() with inet_pton() · 4f96cebc
    Michał Kępień authored
    getquad() was implemented back in 2001 to warn about IPv4 addresses in
    non-dotted-quad form being used.  As change 4900 (GL #13) removed all
    uses of inet_aton(), which allowed such forms, with inet_pton(), which
    does not allow them, there is no point in keeping getquad() around as it
    now only prints an extra warning when the parser comes across an IP
    address in a form which is not acceptable anyway.  Replace all uses of
    getquad() with inet_pton(AF_INET, ...).
    4f96cebc