summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-10-04 22:50:24 +0000
committerErmal Luçi <eri@pfsense.org>2008-10-04 22:50:24 +0000
commit8b12711717deae8e9351d3cf0d3b27f24c21e1ec (patch)
treee0d52494535c68073b3d3ef3459b5c88cbee5929 /etc
parentd78e676308082c5d3a95b8c978e5d3a301e97ade (diff)
downloadpfsense-8b12711717deae8e9351d3cf0d3b27f24c21e1ec.zip
pfsense-8b12711717deae8e9351d3cf0d3b27f24c21e1ec.tar.gz
Use correct interface to record gateway.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc2
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");
}
OpenPOWER on IntegriCloud