diff --git a/sbin/route/route.c b/sbin/route/route.c
index b680442..618d4f2 100644
--- a/sbin/route/route.c
+++ b/sbin/route/route.c
@@ -230,7 +230,7 @@ flushroutes(int argc, char **argv)
 	if (uid != 0) {
 		errx(EX_NOPERM, "must be root to alter routing table");
 	}
-	shutdown(s, 0); /* 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 == '-')
@@ -620,7 +620,7 @@ newroute(int argc, char **argv)
 	}
 	cmd = argv[0];
 	if (*cmd != 'g')
-		shutdown(s, 0); /* 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)) {
