diff options
| author | Michael Brown | 2007-01-15 09:49:10 +0100 |
|---|---|---|
| committer | Michael Brown | 2007-01-15 09:49:10 +0100 |
| commit | 4e20d73bb52326261f8cf49c20d6de2edea309ee (patch) | |
| tree | 3d24466a78c4c8f53294384b76e62e871eb96def /src/tests/dhcptest.c | |
| parent | Add missing include (diff) | |
| download | ipxe-4e20d73bb52326261f8cf49c20d6de2edea309ee.tar.gz ipxe-4e20d73bb52326261f8cf49c20d6de2edea309ee.tar.xz ipxe-4e20d73bb52326261f8cf49c20d6de2edea309ee.zip | |
Gave asynchronous operations approximate POSIX signal semantics. This
will enable us to cascade async operations, which is necessary in order to
properly support DNS. (For example, an HTTP request may have to redirect
to a new location and will have to perform a new DNS lookup, so we can't
just rely on doing the name lookup at the time of parsing the initial
URL).
Anything other than HTTP is probably broken right now; I'll fix the others
up asap.
Diffstat (limited to 'src/tests/dhcptest.c')
| -rw-r--r-- | src/tests/dhcptest.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tests/dhcptest.c b/src/tests/dhcptest.c index 5d6f52dc2..f35a34786 100644 --- a/src/tests/dhcptest.c +++ b/src/tests/dhcptest.c @@ -1,5 +1,6 @@ #include <string.h> #include <stdlib.h> +#include <errno.h> #include <vsprintf.h> #include <byteswap.h> #include <gpxe/ip.h> @@ -7,6 +8,8 @@ #include <gpxe/iscsi.h> #include <gpxe/netdevice.h> +#if 0 + static int test_dhcp_aoe_boot ( struct net_device *netdev, char *aoename ) { unsigned int drivenum; @@ -263,3 +266,5 @@ int test_dhcp ( struct net_device *netdev ) { out_no_del_ipv4: return rc; } + +#endif |
