Fix get_ip argument in --query when testing --fw

This commit is contained in:
Richard Hansen 2024-06-13 22:47:58 -04:00
parent b363fb48a5
commit e1e8d5711a

View file

@ -2127,7 +2127,7 @@ sub test_possible_ip {
} }
} }
local $opt{'use'} = 'fw'; local $opt{'use'} = 'fw';
printf "use=fw, fw=%s address is %s\n", opt('fw'), get_ip(opt('fw')) // 'NOT FOUND' printf "use=fw, fw=%s address is %s\n", opt('fw'), get_ip('fw') // 'NOT FOUND'
if !exists $builtinfw{opt('fw')}; if !exists $builtinfw{opt('fw')};
} }