--- a/ip/iproute.c 2005/05/05 18:56:30 1.1 +++ b/ip/iproute.c 2005/05/05 19:10:49 @@ -857,6 +857,11 @@ argc--; argv++; } + if (!dst_ok) { + fprintf(stderr,"route must specify destination address \n"); + return -1; + } + if (rtnl_open(&rth, 0) < 0) exit(1);