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)) {