From cd3a1b3ea67641d10ae8801473ac2878bb2945a2 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Thu, 26 May 2016 23:00:55 +0200 Subject: [PATCH] fix for previous --- src/www/services_router_advertisements.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/www/services_router_advertisements.php b/src/www/services_router_advertisements.php index ce3710c21..db614d113 100644 --- a/src/www/services_router_advertisements.php +++ b/src/www/services_router_advertisements.php @@ -56,8 +56,8 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') { } // boolean $pconfig['rasamednsasdhcp6'] = isset($config['dhcpdv6'][$if]['rasamednsasdhcp6']); - if (empty($config['ranosend'])) { - $config['rasend'] = true; + if (empty($config['dhcpdv6'][$if]['ranosend'])) { + $pconfig['rasend'] = true; } // defaults