Revision 95f1227e
Added by Chris Buechler over 10 years ago
usr/local/www/firewall_rules_edit.php | ||
---|---|---|
379 | 379 |
|
380 | 380 |
if($_POST['statetype'] == "modulate state" or $_POST['statetype'] == "synproxy state") { |
381 | 381 |
if( $_POST['proto'] != "tcp" ) |
382 |
$input_errors[] = sprintf(gettext("%s is only valid with protocol tcp."),$_POST['statetype']);
|
|
382 |
$input_errors[] = sprintf(gettext("%s is only valid with protocol TCP."),$_POST['statetype']);
|
|
383 | 383 |
if(($_POST['statetype'] == "synproxy state") && ($_POST['gateway'] != "")) |
384 | 384 |
$input_errors[] = sprintf(gettext("%s is only valid if the gateway is set to 'default'."),$_POST['statetype']); |
385 | 385 |
} |
... | ... | |
492 | 492 |
} |
493 | 493 |
if ($_POST['os']) { |
494 | 494 |
if( $_POST['proto'] != "tcp" ) |
495 |
$input_errors[] = gettext("OS detection is only valid with protocol tcp.");
|
|
495 |
$input_errors[] = gettext("OS detection is only valid with protocol TCP.");
|
|
496 | 496 |
if (!in_array($_POST['os'], $ostypes)) |
497 | 497 |
$input_errors[] = gettext("Invalid OS detection selection. Please select a valid OS."); |
498 | 498 |
} |
Also available in: Unified diff
fix up text