summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2015-04-02 19:46:10 -0500
committerChris Buechler <cmb@pfsense.org>2015-04-02 19:46:10 -0500
commit83ccc8649bd7699b7fd6812c432ed34316d4b4a9 (patch)
tree96e7e9c837701ce0df0714372b86318287bba6cc
parent35ff72fa0408f4c43e61bece913d26e69f52c64e (diff)
downloadpfsense-83ccc8649bd7699b7fd6812c432ed34316d4b4a9.zip
pfsense-83ccc8649bd7699b7fd6812c432ed34316d4b4a9.tar.gz
Use real interface here for dhcrelay v6. Ticket #4572
-rw-r--r--etc/inc/services.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc
index 9df8334..680d695 100644
--- a/etc/inc/services.inc
+++ b/etc/inc/services.inc
@@ -1620,7 +1620,7 @@ function services_dhcrelay6_configure() {
if (is_array($config['gateways']['gateway_item'])) {
foreach ($config['gateways']['gateway_item'] as $gateway) {
if (isset($gateway['defaultgw'])) {
- $destif = $gateway['interface'];
+ $destif = get_real_interface($gateway['interface']);
break;
}
}
@@ -2455,4 +2455,4 @@ function install_cron_job($command, $active=false, $minute="0", $hour="*", $mont
configure_cron();
}
-?>
+?> \ No newline at end of file
OpenPOWER on IntegriCloud