summaryrefslogtreecommitdiffstats
path: root/etc/rc.newwanip
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@sullrich-MacBookPro.local>2009-03-18 19:04:01 -0400
committerScott Ullrich <sullrich@sullrich-MacBookPro.local>2009-03-18 19:04:24 -0400
commit2468ae7620fdfd69b9282787e09c17cccad78281 (patch)
tree65b85c706c24ee17e7eef808a225359dcc9b3880 /etc/rc.newwanip
parent2ccad09a1196d88baa587f7017a7f1a05fe37e1c (diff)
downloadpfsense-2468ae7620fdfd69b9282787e09c17cccad78281.zip
pfsense-2468ae7620fdfd69b9282787e09c17cccad78281.tar.gz
Update gateway group gateway IP for dhcp interface wan interfaces.
Diffstat (limited to 'etc/rc.newwanip')
-rwxr-xr-xetc/rc.newwanip3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/rc.newwanip b/etc/rc.newwanip
index 5f654b0..5918084 100755
--- a/etc/rc.newwanip
+++ b/etc/rc.newwanip
@@ -106,6 +106,9 @@ filter_configure();
/* reload graphing functions */
enable_rrd_graphing();
+/* This is DHCP, update the gateway group items default gateway */
+update_gateway_groups_defaultroute_dhclient($interface);
+
/* restart packages */
if($old_ip <> "") {
if($old_ip <> $curwanip) {
OpenPOWER on IntegriCloud