Lines Matching refs:requires_firewall
61 is( Net::Config->requires_firewall(), 0,
62 'requires_firewall() should return 0 without ftp_firewall defined' );
65 is( Net::Config->requires_firewall('a.host.not.there'), -1,
70 is( Net::Config->requires_firewall('127.0.0.1'), 0,
74 is( Net::Config->requires_firewall('127.0.0.1'), 0,
76 is( Net::Config->requires_firewall('192.168.10.0'), 1,
81 is( Net::Config->requires_firewall('10.10.255.254'), 0,
83 is( Net::Config->requires_firewall('192.168.10.0'), 1,
86 is( \&Net::Config::is_external, \&Net::Config::requires_firewall,
87 'is_external() should be an alias for requires_firewall()' );