diff options
author | brian <brian@FreeBSD.org> | 2002-07-18 18:50:05 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2002-07-18 18:50:05 +0000 |
commit | 0ffeeffe3e5a03f38ce2b97a6418df9cd2eb8eb2 (patch) | |
tree | e50cbe187b0e003dedc77fc8faa36918ed8d8234 /usr.sbin/ppp/udp.c | |
parent | 8d142e42ff9ce50800daee2233a4948fc06be370 (diff) | |
download | FreeBSD-src-0ffeeffe3e5a03f38ce2b97a6418df9cd2eb8eb2.zip FreeBSD-src-0ffeeffe3e5a03f38ce2b97a6418df9cd2eb8eb2.tar.gz |
Remove unused calls to inet_addr()
Diffstat (limited to 'usr.sbin/ppp/udp.c')
-rw-r--r-- | usr.sbin/ppp/udp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/usr.sbin/ppp/udp.c b/usr.sbin/ppp/udp.c index 47cab3f..3a5fe06 100644 --- a/usr.sbin/ppp/udp.c +++ b/usr.sbin/ppp/udp.c @@ -209,7 +209,6 @@ udp_CreateDevice(struct physical *p, char *host, char *port) } dev->sock.sin_family = AF_INET; - dev->sock.sin_addr.s_addr = inet_addr(host); dev->sock.sin_addr = GetIpAddr(host); if (dev->sock.sin_addr.s_addr == INADDR_NONE) { log_Printf(LogWARN, "%s: %s: unknown host\n", p->link.name, host); |