diff options
author | Ermal <eri@pfsense.org> | 2011-01-28 16:03:42 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-01-28 16:03:42 +0000 |
commit | 9b2e42c9faef82b0e040f106737d7bc33a6ee7ed (patch) | |
tree | c6d8269742734ead9ee7e544dbea28df80bb2a34 | |
parent | 9d0b0635792e42bede701e86f1cda62e64d366a6 (diff) | |
download | pfsense-9b2e42c9faef82b0e040f106737d7bc33a6ee7ed.zip pfsense-9b2e42c9faef82b0e040f106737d7bc33a6ee7ed.tar.gz |
When setting the ip from the console also enable the interface otherwise the HTTP_REFERER checks will not let you use the GUI.
-rwxr-xr-x | etc/rc.initial.setlanip | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/rc.initial.setlanip b/etc/rc.initial.setlanip index 1aacfb1..c1f6ddc 100755 --- a/etc/rc.initial.setlanip +++ b/etc/rc.initial.setlanip @@ -139,6 +139,7 @@ $config['interfaces'][$interface]['ipaddr'] = $intip; $config['interfaces'][$interface]['subnet'] = $intbits; + $config['interfaces'][$interface]['enable'] = true; if($g['services_dhcp_server_enable']) $yn = prompt_for_enable_dhcp_server(); @@ -257,4 +258,4 @@ fgets($fp); fclose($fp); -?>
\ No newline at end of file +?> |