diff options
Diffstat (limited to 'usr.sbin/pppctl')
-rw-r--r-- | usr.sbin/pppctl/pppctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pppctl/pppctl.c b/usr.sbin/pppctl/pppctl.c index b6336eb..3eaaaeb 100644 --- a/usr.sbin/pppctl/pppctl.c +++ b/usr.sbin/pppctl/pppctl.c @@ -1,5 +1,5 @@ /* - * $Id$ + * $Id: pppctl.c,v 1.10 1997/11/18 00:22:07 brian Exp $ */ #include <sys/types.h> @@ -240,7 +240,7 @@ main(int argc, char **argv) hlen = strlen(host); if (strspn(host, "0123456789.") == hlen) { - if (!inet_aton(host, (struct in_addr *)&ifsin.sin_addr.s_addr)) { + if (!inet_aton(host, &ifsin.sin_addr)) { fprintf(stderr, "Cannot translate %s\n", host); return 1; } |