diff options
author | jmallett <jmallett@FreeBSD.org> | 2005-05-11 02:45:49 +0000 |
---|---|---|
committer | jmallett <jmallett@FreeBSD.org> | 2005-05-11 02:45:49 +0000 |
commit | fe1cf0e37d730f79c928093f090f1ba445961727 (patch) | |
tree | e10468f57575ec312d2f41bb381c36c68090e89b /usr.sbin | |
parent | f0d513b44e4de0e2ed8868a35af28fbba60e7125 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | usr.sbin/IPXrouted/main.c | 2 |
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); |