diff options
Diffstat (limited to 'perl-install/standalone/drakroam')
-rwxr-xr-x | perl-install/standalone/drakroam | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/standalone/drakroam b/perl-install/standalone/drakroam index 18571fb93..e76399ee9 100755 --- a/perl-install/standalone/drakroam +++ b/perl-install/standalone/drakroam @@ -269,6 +269,7 @@ sub UpdateStatus() { if (/inet addr:(\S*)\s/) { $CurrentIP = $1 } } foreach (run_program::get_stdout($route)) { + #- FIXME: use timeout for DNS resolution, factorize with activefw.pm if (/^0.0.0.0\s*(\S*)\s/) { $CurrentGW = gethostbyaddr(inet_aton($1), AF_INET) } else { $CurrentGW = "---.---.---.---" } } |