mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-10 02:55:55 +02:00
general-functions.pl: Subroutine getnetworkip() accepted multiple arguments
This commit is contained in:
@@ -388,7 +388,9 @@ sub iporsubtocidr
|
||||
}
|
||||
|
||||
sub getnetworkip {
|
||||
return &Network::get_netaddress(shift);
|
||||
my $arg = join("/", $@);
|
||||
|
||||
return &Network::get_netaddress($arg);
|
||||
}
|
||||
|
||||
sub getccdbc
|
||||
|
||||
Reference in New Issue
Block a user