Fix a bug that the gateway address was not shown when a -gateway modifier
was used.
This commit is contained in:
parent
c0f826e652
commit
7df84c2b74
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user