summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/main.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2000-03-14 01:46:44 +0000
committerbrian <brian@FreeBSD.org>2000-03-14 01:46:44 +0000
commita69e155f87ae5e1b59088d06927f1d02e5fd2518 (patch)
tree6f68255de2ce33b073f473b78e8f9283010443ea /usr.sbin/ppp/main.c
parentca63a8dc14cfe59294896ffbad69a07d20d6a4f4 (diff)
downloadFreeBSD-src-a69e155f87ae5e1b59088d06927f1d02e5fd2518.zip
FreeBSD-src-a69e155f87ae5e1b59088d06927f1d02e5fd2518.tar.gz
The interface list that comes back from the PF_ROUTE/NET_RT_IFLIST mib
is aligned. Teach this to ``show route''. Clean up some of the sockaddr parsing routines.
Diffstat (limited to 'usr.sbin/ppp/main.c')
-rw-r--r--usr.sbin/ppp/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/ppp/main.c b/usr.sbin/ppp/main.c
index ed38119..126505f 100644
--- a/usr.sbin/ppp/main.c
+++ b/usr.sbin/ppp/main.c
@@ -27,6 +27,8 @@
#include <netinet/in_systm.h>
#include <netinet/ip.h>
#include <sys/un.h>
+#include <sys/socket.h>
+#include <net/route.h>
#include <errno.h>
#include <fcntl.h>
OpenPOWER on IntegriCloud