mirror of
git://git.9front.org/plan9front/plan9front
synced 2025-01-12 11:10:06 +00:00
ip/ppp: rc-quote ipnet value, to prevent accidents.
This commit is contained in:
parent
6894c4e13a
commit
d248f8e847
1 changed files with 1 additions and 1 deletions
|
@ -1597,7 +1597,7 @@ ipconfig(int shell, char *net, char *dev, char *ipnet, int mtu, int proxy, Ipadd
|
|||
if(gate != nil)
|
||||
fprint(shell, "-g %I ", gate);
|
||||
if(ipnet != nil)
|
||||
fprint(shell, "-i %s ", ipnet);
|
||||
fprint(shell, "-i %q ", ipnet);
|
||||
}
|
||||
/* allow dhcpv6 */
|
||||
if(duid != nil)
|
||||
|
|
Loading…
Reference in a new issue