summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-04-07 16:33:37 +0000
committerOlivier Blin <oblin@mandriva.org>2005-04-07 16:33:37 +0000
commitd81ea2849d44b2a76cc852b98603939d22ee2b0d (patch)
treee0495dcf267900d638689d44cdf9a51cf7526155 /perl-install
parent065a539b0ae100eecc0c793fc79b73d6d0cda998 (diff)
downloaddrakx-d81ea2849d44b2a76cc852b98603939d22ee2b0d.tar
drakx-d81ea2849d44b2a76cc852b98603939d22ee2b0d.tar.gz
drakx-d81ea2849d44b2a76cc852b98603939d22ee2b0d.tar.bz2
drakx-d81ea2849d44b2a76cc852b98603939d22ee2b0d.tar.xz
drakx-d81ea2849d44b2a76cc852b98603939d22ee2b0d.zip
add some comment
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/drakroam1
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 = "---.---.---.---" }
}