diff options
author | Ermal Luçi <eri@pfsense.org> | 2009-12-08 15:44:43 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2009-12-08 15:44:43 +0000 |
commit | fb3590e537c5f4dfb9dbc0f912dc5188504872a2 (patch) | |
tree | 843ca88886c9b4ebc8ff29267d437a5609106f65 /etc/inc | |
parent | 989e5d62da2f7f6dad2bb55d20d2558cfb3fa34a (diff) | |
download | pfsense-fb3590e537c5f4dfb9dbc0f912dc5188504872a2.zip pfsense-fb3590e537c5f4dfb9dbc0f912dc5188504872a2.tar.gz |
Revert "Correctly unset rules when switching disabling AON."
This reverts commit 989e5d62da2f7f6dad2bb55d20d2558cfb3fa34a.
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/util.inc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/etc/inc/util.inc b/etc/inc/util.inc index 1863cf5..156e4f4 100644 --- a/etc/inc/util.inc +++ b/etc/inc/util.inc @@ -302,8 +302,6 @@ function is_validaliasname($name) { function is_port($port) { if ((intval($port) < 1) || (intval($port) > 65535)) return false; - else if (!getservbyname($port, "tcp") && !getservbyname($port, "udp")) - return false; else return true; } |