diff options
Diffstat (limited to 'bin/vnet')
-rwxr-xr-x | bin/vnet | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -19,6 +19,11 @@ my $share = $0; my ($ext_ip, $int_ip); sub get_ext_ip { + + if (-d '/sys/class/net/ppp0') { + return qq{-}; + } + my $ua = LWP::UserAgent->new( env_proxy => 0 ); |