diff options
author | jim-p <jimp@pfsense.org> | 2011-08-05 10:18:32 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2011-08-05 10:20:27 -0400 |
commit | 5b0f2653ba06668186aa445bb0f6072d0eb4de95 (patch) | |
tree | 4dc15ab51f8f2668e28a7b48fc7721d4ff1b71be | |
parent | 6ebf7095380a38213762fdd9ba79f055e823816e (diff) | |
download | pfsense-5b0f2653ba06668186aa445bb0f6072d0eb4de95.zip pfsense-5b0f2653ba06668186aa445bb0f6072d0eb4de95.tar.gz |
Remove GUI code to enable fast routing. The backend code was removed back in December in 4f76b144b0885b9a407db026723bb61f568effc3
-rwxr-xr-x | usr/local/www/system_routes.php | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/usr/local/www/system_routes.php b/usr/local/www/system_routes.php index 84f5de0..959c940 100755 --- a/usr/local/www/system_routes.php +++ b/usr/local/www/system_routes.php @@ -75,22 +75,6 @@ if ($_POST) { $savemsg = get_std_save_message($retval); if ($retval == 0) clear_subsystem_dirty('staticroutes'); - } else { - if ($_POST['enablefastrouting'] == "") { - /* Only update config if something changed */ - if (isset($config['staticroutes']['enablefastrouting'])) { - $changedesc .= " " . gettext("disable fast routing"); - unset($config['staticroutes']['enablefastrouting']); - write_config($changedesc); - } - } else { - /* Only update config if something changed */ - if (!isset($config['staticroutes']['enablefastrouting'])) { - $changedesc .= " " . gettext("enable fast routing"); - $config['staticroutes']['enablefastrouting'] = "enabled"; - write_config($changedesc); - } - } } } @@ -121,15 +105,6 @@ include("head.inc"); <?php print_info_box_np(sprintf(gettext("The static route configuration has been changed.%sYou must apply the changes in order for them to take effect."), "<br>"));?><br> <?php endif; ?> - <?php if($config['system']['disablefilter'] <> "") :?> - <table width="100%" border="0" cellpadding="0" cellspacing="0"> - - <tr><td width="2%"><input type="checkbox" name="enablefastrouting" id="enablefastrouting" <?php if($config['staticroutes']['enablefastrouting'] == "enabled") echo " checked"; ?>></td><td><b><?=gettext("Enable fast routing");?></td></tr> - - <tr><td colspan=2><hr><input type="submit" value="<?=gettext("Save"); ?>"></td></tr> - </table><br> - <?php endif; ?> - <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td> |