diff options
-rwxr-xr-x | lib/Vyatta/Misc.pm | 2 | ||||
-rw-r--r-- | templates/priority | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/Vyatta/Misc.pm b/lib/Vyatta/Misc.pm index 6089361..77c6218 100755 --- a/lib/Vyatta/Misc.pm +++ b/lib/Vyatta/Misc.pm @@ -58,7 +58,7 @@ sub is_dhcp_enabled { if ($outside_cli); $config->setLevel( $intf->path() ); - foreach my $addr ( $config->returnOrigValues('address') ) { + foreach my $addr ( $config->returnOrigPlusComValues('address') ) { return 1 if ( $addr && $addr eq "dhcp" ); } diff --git a/templates/priority b/templates/priority index 815b884..7c83b59 100644 --- a/templates/priority +++ b/templates/priority @@ -154,12 +154,13 @@ 900 service 910 service/dhcp-relay 911 service/dhcp-server -912 service/dns 913 service/https 914 service/nat 915 service/ssh 916 service/telnet 917 service/webproxy +918 service/dns/forwarding +919 service/dns/dynamic 960 cluster 970 zone-policy/zone/node.tag/from 975 zone-policy |