summaryrefslogtreecommitdiffstats
path: root/usr.sbin/IPXrouted/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/IPXrouted/main.c')
-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