summaryrefslogtreecommitdiffstats
path: root/etc/inc/system.inc
diff options
context:
space:
mode:
authorsmos <seth.mos@dds.nl>2013-01-05 16:01:43 +0100
committersmos <seth.mos@dds.nl>2013-01-05 16:02:28 +0100
commitd53a9a5100c83988cd7479e9228c27f2ab09760e (patch)
treef72872fa4b351c27b217939e84d86fb9ad917bc2 /etc/inc/system.inc
parentdcb4155504df9994c6c95e6bd511076b23e531af (diff)
downloadpfsense-d53a9a5100c83988cd7479e9228c27f2ab09760e.zip
pfsense-d53a9a5100c83988cd7479e9228c27f2ab09760e.tar.gz
The ISC client was far worse then the WIDE client was, back to plan A
Revert "Merge changes required for using the ISC dhclient in pfSense with prefix delegation. This should hopefully be a bit more reliable in the long run." This reverts commit 651018775c78e38045966825b920b641a0302b43. Conflicts: etc/inc/interfaces.inc
Diffstat (limited to 'etc/inc/system.inc')
-rw-r--r--etc/inc/system.inc20
1 files changed, 0 insertions, 20 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index 387d977..8b71096 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -1595,24 +1595,4 @@ function get_possible_listen_ips() {
return $listenips;
}
-/* Pick up IPv6 router advertisements on the interface */
-function pickup_ipv6_router_advertisement($interface) {
- global $g;
- $realif = get_real_interface($interface);
- exec("/sbin/rtsol -d {$realif} 2>&1", $out, $ret);
- if(!empty($out)) {
- foreach($out as $line) {
- if((stristr($line, "received")) && (!stristr($line, "unexpected"))) {
- $parts = explode(" ", $line);
- if(is_ipaddrv6($parts[3])) {
- log_error("Found IPv6 default gateway '{$parts[3]}' on interface {$realif} by RA.");
- file_put_contents("{$g['tmp_path']}/{$realif}_routerv6", "{$parts[3]}\n");
- file_put_contents("{$g['tmp_path']}/{$realif}_defaultgwv6", "{$parts[3]}\n");
- break;
- }
- }
- }
- }
-}
-
?>
OpenPOWER on IntegriCloud