From 59ccd7ae8aa1fbecf7719297e118406187219bc6 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Fri, 18 Jun 2010 19:05:10 -0700 Subject: pxe: mark ipinfo as IPv4 IP information is IPv4 for now. Signed-off-by: H. Peter Anvin --- core/fs/pxe/dhcp_option.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/fs/pxe/dhcp_option.c b/core/fs/pxe/dhcp_option.c index 39b51666..ee1a3785 100644 --- a/core/fs/pxe/dhcp_option.c +++ b/core/fs/pxe/dhcp_option.c @@ -244,6 +244,8 @@ void parse_dhcp(int pkt_len) struct bootp_t *dhcp = (struct bootp_t *)trackbuf; int opt_len; + IPInfo.ipv4 = 4; /* This is IPv4 only for now... */ + over_load = 0; if (ip_ok(dhcp->yip)) IPInfo.myip = dhcp->yip; -- cgit v1.2.1