diff options
author | Renato Botelho <garga@FreeBSD.org> | 2013-03-01 11:16:42 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2013-03-01 11:16:42 -0300 |
commit | 75f4d86867967da185914f94419c8646b7a3c4cb (patch) | |
tree | dbb7c302fa8616f886bc2b09107ef1cde13b9ad4 /etc | |
parent | 6b23c19a15eb621208fa6d6fc5a8b97c3dd6ff97 (diff) | |
download | pfsense-75f4d86867967da185914f94419c8646b7a3c4cb.zip pfsense-75f4d86867967da185914f94419c8646b7a3c4cb.tar.gz |
Remove *_defaultgwv6 also
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/system.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index 3bea41e..d895d2f 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -371,7 +371,7 @@ function system_routing_configure($interface = "") { $foundgwv6 = false; /* tack on all the hard defined gateways as well */ if (is_array($config['gateways']['gateway_item'])) { - mwexec("/bin/rm {$g['tmp_path']}/*_defaultgw", true); + mwexec("/bin/rm -f {$g['tmp_path']}/*_defaultgw {$g['tmp_path']}/*_defaultgwv6", true); foreach ($config['gateways']['gateway_item'] as $gateway) { if (isset($gateway['defaultgw'])) { if ($gateway['ipprotocol'] != "inet6" && (is_ipaddrv4($gateway['gateway']) || $gateway['gateway'] == "dynamic")) { |