diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-10-04 22:50:24 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-10-04 22:50:24 +0000 |
commit | 8b12711717deae8e9351d3cf0d3b27f24c21e1ec (patch) | |
tree | e0d52494535c68073b3d3ef3459b5c88cbee5929 /etc | |
parent | d78e676308082c5d3a95b8c978e5d3a301e97ade (diff) | |
download | pfsense-8b12711717deae8e9351d3cf0d3b27f24c21e1ec.zip pfsense-8b12711717deae8e9351d3cf0d3b27f24c21e1ec.tar.gz |
Use correct interface to record gateway.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/interfaces.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 60940ff..3cf67e1 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -1224,7 +1224,7 @@ function interface_configure($interface = "wan") { } if (is_ipaddr($wancfg['gateway'])) - system("echo " . $wancfg['gateway'] . " > /tmp/" . $wancfg['if'] . "_router"); + system("echo " . $wancfg['gateway'] . " > /tmp/" . $realif . "_router"); } |