summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGaurav Sinha <gaurav.sinha@vyatta.com>2011-11-14 16:23:15 -0800
committerGaurav Sinha <gaurav.sinha@vyatta.com>2011-11-14 16:23:15 -0800
commit520e47490fc9833d868b724fa192f2852ded21a1 (patch)
tree02781653b5b8d91b8e89e3744998ef65b4fd0732 /lib
parentb7e1fab5e9453ae3fe3eaed61beee9e9808e8a7d (diff)
downloadvyatta-cfg-520e47490fc9833d868b724fa192f2852ded21a1.tar.gz
vyatta-cfg-520e47490fc9833d868b724fa192f2852ded21a1.zip
Bug 7411: exporting isValidPortNumber API from Misc.pm, used in conntrack for validating ports entered
Diffstat (limited to 'lib')
-rwxr-xr-xlib/Vyatta/Misc.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Vyatta/Misc.pm b/lib/Vyatta/Misc.pm
index 4818e65..6579da7 100755
--- a/lib/Vyatta/Misc.pm
+++ b/lib/Vyatta/Misc.pm
@@ -27,7 +27,8 @@ our @ISA = qw(Exporter);
our @EXPORT = qw(getInterfaces getIP getNetAddIP get_sysfs_value
is_address_enabled is_dhcp_enabled get_ipaddr_intf_hash
isIpAddress is_ip_v4_or_v6 interface_description
- is_local_address is_primary_address get_ipnet_intf_hash);
+ is_local_address is_primary_address get_ipnet_intf_hash
+ isValidPortNumber);
our @EXPORT_OK = qw(generate_dhclient_intf_files
getInterfacesIPadresses
getPortRuleString