summaryrefslogtreecommitdiffstats
path: root/usr.sbin/IPXrouted
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2005-05-11 02:45:49 +0000
committerjmallett <jmallett@FreeBSD.org>2005-05-11 02:45:49 +0000
commitfe1cf0e37d730f79c928093f090f1ba445961727 (patch)
treee10468f57575ec312d2f41bb381c36c68090e89b /usr.sbin/IPXrouted
parentf0d513b44e4de0e2ed8868a35af28fbba60e7125 (diff)
downloadFreeBSD-src-fe1cf0e37d730f79c928093f090f1ba445961727.zip
FreeBSD-src-fe1cf0e37d730f79c928093f090f1ba445961727.tar.gz
Spell SHUT_RD as SHUT_RD not 0 as the how argument to shutdown(2).
Diffstat (limited to 'usr.sbin/IPXrouted')
-rw-r--r--usr.sbin/IPXrouted/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/IPXrouted/main.c b/usr.sbin/IPXrouted/main.c
index 4e2af23..8c84161 100644
--- a/usr.sbin/IPXrouted/main.c
+++ b/usr.sbin/IPXrouted/main.c
@@ -174,7 +174,7 @@ main(argc, argv)
r = socket(AF_ROUTE, SOCK_RAW, 0);
/* later, get smart about lookingforinterfaces */
if (r)
- shutdown(r, 0); /* for now, don't want reponses */
+ shutdown(r, SHUT_RD); /* for now, don't want reponses */
else {
fprintf(stderr, "IPXrouted: no routing socket\n");
exit(1);
OpenPOWER on IntegriCloud