Fix a bug that the gateway address was not shown when a -gateway modifier

was used.
This commit is contained in:
Hiroki Sato 2013-06-09 17:40:06 +00:00
parent c0f826e652
commit 7df84c2b74

View File

@ -848,6 +848,7 @@ newroute(int argc, char **argv)
if (!--argc)
usage(NULL);
getaddr(RTA_GATEWAY, *++argv, 0, nrflags);
gateway = *argv;
break;
case K_DST:
if (!--argc)