summaryrefslogtreecommitdiff
path: root/zebra/ipforward_solaris.c
diff options
context:
space:
mode:
authorpaul <paul>2003-07-08 08:09:45 +0000
committerpaul <paul>2003-07-08 08:09:45 +0000
commit9bcdb638923e3254b64744d02ceab62b8f2941a1 (patch)
tree2262989f3d4105cd0b539ece52628666ff3b580c /zebra/ipforward_solaris.c
parent0c14ad88aab5df610acfe035385a7323e1683035 (diff)
2003-07-8 Chris Andrews <chris@nodnol.org>
* zebra/kernel_socket.c: Update for new zebrad global struct * zebra/ipforward_solaris.c: Add missing privs.h include. Uncomment /dev/ip define. * lib/zebra.h: Add typedefs for SunOS.
Diffstat (limited to 'zebra/ipforward_solaris.c')
-rw-r--r--zebra/ipforward_solaris.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/zebra/ipforward_solaris.c b/zebra/ipforward_solaris.c
index fe06e74d..791d175c 100644
--- a/zebra/ipforward_solaris.c
+++ b/zebra/ipforward_solaris.c
@@ -24,6 +24,8 @@
#include "log.h"
#include "prefix.h"
+#include "privs.h"
+
/*
** Solaris should define IP_DEV_NAME in <inet/ip.h>, but we'll save
** configure.in changes for another day. We can use the same device
@@ -33,11 +35,11 @@
#ifndef IP_DEV_NAME
#define IP_DEV_NAME "/dev/ip"
#endif
-/*
+
extern struct zebra_privs_t zserv_privs;
-** This is a limited ndd style function that operates one integer
+/* This is a limited ndd style function that operates one integer
** value only. Errors return -1. ND_SET commands return 0 on
** success. ND_GET commands return the value on success (which could
** be -1 and be confused for an error). The parameter is the string