mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Spell SHUT_RD as SHUT_RD not 0 as the how argument to shutdown(2).
This commit is contained in:
parent
ed3836bb08
commit
370291ea4a
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue