Spell SHUT_RD as SHUT_RD not 0 as the how argument to shutdown(2).

This commit is contained in:
Juli Mallett 2005-05-11 02:45:49 +00:00
parent ed3836bb08
commit 370291ea4a

View file

@ -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);