Commit 36963b19 authored by frankiejol's avatar frankiejol
Browse files

wip(tests): fixed full path to ifconfig was necessary

issue #264
parent 842867f8
......@@ -25,7 +25,7 @@ my $CHAIN = 'RAVADA';
##################################################################################
sub _search_other_ip($ip) {
my $out = `ifconfig`;
my $out = `/sbin/ifconfig`;
for my $line ( split /\n/, $out ) {
my ($ip2) = $line =~ /inet.(\d+\.\d+\.\d+\.\d+) /;
......
......@@ -26,7 +26,7 @@ my $CHAIN = 'RAVADA';
##################################################################################
sub _search_other_ip($ip) {
my $out = `ifconfig`;
my $out = `/sbin/ifconfig`;
for my $line ( split /\n/, $out ) {
my ($ip2) = $line =~ /inet.(\d+\.\d+\.\d+\.\d+) /;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment