summaryrefslogtreecommitdiff
path: root/lib/Vyatta/Misc.pm
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2010-03-24 17:13:11 -0700
committerStig Thormodsrud <stig@vyatta.com>2010-03-24 17:13:11 -0700
commita4b59a1aaa10c4f78b5d854aa884decb17b8aea9 (patch)
treed556d32de2cfae95e1be161b005ce4cf89c8849a /lib/Vyatta/Misc.pm
parent7a9f88c587187ece112e47d7c4d077e44a6afe8a (diff)
parent327ea4113cea590f4d2c33bb430421158ebf51fa (diff)
downloadvyatta-cfg-a4b59a1aaa10c4f78b5d854aa884decb17b8aea9.tar.gz
vyatta-cfg-a4b59a1aaa10c4f78b5d854aa884decb17b8aea9.zip
Merge branch 'larkspur' of http://git.vyatta.com/vyatta-cfg into larkspur
Diffstat (limited to 'lib/Vyatta/Misc.pm')
-rwxr-xr-xlib/Vyatta/Misc.pm10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Vyatta/Misc.pm b/lib/Vyatta/Misc.pm
index d666ea9..94c0c05 100755
--- a/lib/Vyatta/Misc.pm
+++ b/lib/Vyatta/Misc.pm
@@ -62,7 +62,7 @@ sub is_dhcp_enabled {
return 1 if ( $addr && $addr eq "dhcp" );
}
- # return undef
+ return;
}
# check if any non-dhcp addresses configured
@@ -77,7 +77,7 @@ sub is_address_enabled {
return 1 if ( $addr && $addr ne 'dhcp' );
}
- # return undefined (ie false)
+ return;
}
# return dhclient related files for interface
@@ -186,7 +186,7 @@ sub getNetAddrIP {
return $ip;
}
- # default return of undefined (ie false)
+ return;
}
sub is_ip_v4_or_v6 {
@@ -207,7 +207,7 @@ sub is_ip_v4_or_v6 {
return 6;
}
- # default return of undefined (ie false)
+ return;
}
sub isIpAddress {
@@ -269,7 +269,7 @@ sub isIPinInterfaces {
return 1 if ( is_ip_in_list( $ip_addr, getIP($name) ) );
}
- # false (undef)
+ return; # false (undef)
}
sub isClusteringEnabled {