[ipxe-devel] [ipxe/ipxe] [hci] Add timeout arg to ifconf (#96)
Joe Groocock
notifications at github.com
Fri Sep 20 12:45:44 UTC 2019
Useful for performing address configuration in situations where it really shouldn't take very long.
```
iPXE> ifconf --help
Usage:
ifconf [-c|--configurator <configurator>] [-t|--timeout <timeout>] [<interface>...]
See http://ipxe.org/cmd/ifconf for further information
iPXE> time ifconf -t100 net0
Configuring (net0 aa:bb:cc:dd:ee:ff)... Connection timed out (http://ipxe.org/4c072092)
time: 0.1s
iPXE> time ifconf -t1000 net0
Configuring (net0 aa:bb:cc:dd:ee:ff)... Connection timed out (http://ipxe.org/4c072092)
time: 1.0s
iPXE> time ifconf -t5000 net0
Configuring (net0 aa:bb:cc:dd:ee:ff)....... Connection timed out (http://ipxe.org/4c072092)
time: 4.9s
```
You can view, comment on, or merge this pull request online at:
https://github.com/ipxe/ipxe/pull/96
-- Commit Summary --
* [hci] Add timeout arg to ifconf
-- File Changes --
M src/hci/commands/ifmgmt_cmd.c (7)
M src/include/usr/ifmgmt.h (3)
M src/usr/autoboot.c (2)
M src/usr/ifmgmt.c (5)
-- Patch Links --
https://github.com/ipxe/ipxe/pull/96.patch
https://github.com/ipxe/ipxe/pull/96.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/ipxe/ipxe/pull/96
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20190920/8c6e9bc1/attachment.htm>
More information about the ipxe-devel
mailing list