diff --git a/usr.sbin/IPXrouted/main.c b/usr.sbin/IPXrouted/main.c index 4e2af23be05..8c841618396 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);