Changed to link against our libbind.so and libsocket.so.

Now using correct shutdown constants.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7229 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Waldemar Kornewald
2004-04-18 12:49:41 +00:00
parent 068bd8517e
commit 5f09d484a7
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ BinCommand <bin>route :
keywords.c
route.c
show.c
: socket bind ;
: libsocket.so libbind.so ;
# Installation -- in the test directory for the time being
OBOSInstall install-networking
+2 -2
View File
@@ -287,7 +287,7 @@ void flushroutes(int argc, char *argv[])
errno = EACCES;
quit("must be root to alter routing table");
}
shutdown(s, SHUTDOWN_RECV); /* Don't want to read back our messages */
shutdown(s, SHUT_RD); /* Don't want to read back our messages */
if (argc > 1) {
argv++;
if (argc == 2 && **argv == '-')
@@ -616,7 +616,7 @@ int newroute(int argc, char **argv)
}
cmd = argv[0];
if (*cmd != 'g')
shutdown(s, SHUTDOWN_RECV); /* Don't want to read back our messages */
shutdown(s, SHUT_RD); /* Don't want to read back our messages */
while (--argc > 0) {
if (**(++argv)== '-') {
switch (key = keyword(1 + *argv)) {