aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/radius.c
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>2000-03-14 01:46:44 +0000
committerBrian Somers <brian@FreeBSD.org>2000-03-14 01:46:44 +0000
commit6b4579784c45018506c8d7b93e89341111022c9f (patch)
tree2fa0819f90a15aec4737abc785892874d7f1a1d1 /usr.sbin/ppp/radius.c
parent6b384664485d11cdc505bdf64dbf237d3edfc907 (diff)
downloadsrc-6b4579784c45018506c8d7b93e89341111022c9f.tar.gz
src-6b4579784c45018506c8d7b93e89341111022c9f.zip
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.
Notes
Notes: svn path=/head/; revision=58032
Diffstat (limited to 'usr.sbin/ppp/radius.c')
-rw-r--r--usr.sbin/ppp/radius.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/ppp/radius.c b/usr.sbin/ppp/radius.c
index cdd30f574402..d3f51c870b80 100644
--- a/usr.sbin/ppp/radius.c
+++ b/usr.sbin/ppp/radius.c
@@ -28,11 +28,13 @@
*/
#include <sys/param.h>
+#include <sys/socket.h>
#include <netinet/in_systm.h>
#include <netinet/in.h>
#include <netinet/ip.h>
#include <arpa/inet.h>
#include <sys/un.h>
+#include <net/route.h>
#include <errno.h>
#include <radlib.h>