From 5f09d484a75f66c79a4bfa1e624d2e5903310c75 Mon Sep 17 00:00:00 2001 From: Waldemar Kornewald Date: Sun, 18 Apr 2004 12:49:41 +0000 Subject: [PATCH] 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 --- src/apps/bin/route/Jamfile | 2 +- src/apps/bin/route/route.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/apps/bin/route/Jamfile b/src/apps/bin/route/Jamfile index 19397dbc1a..2e20869634 100644 --- a/src/apps/bin/route/Jamfile +++ b/src/apps/bin/route/Jamfile @@ -6,7 +6,7 @@ BinCommand 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 diff --git a/src/apps/bin/route/route.c b/src/apps/bin/route/route.c index 44d6ce3ada..163d9c41e3 100644 --- a/src/apps/bin/route/route.c +++ b/src/apps/bin/route/route.c @@ -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)) {