projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c81d671
)
pxe: mark ipinfo as IPv4
author
H. Peter Anvin
<hpa@linux.intel.com>
Sat, 19 Jun 2010 02:05:10 +0000
(19:05 -0700)
committer
H. Peter Anvin
<hpa@linux.intel.com>
Sat, 19 Jun 2010 02:05:10 +0000
(19:05 -0700)
IP information is IPv4 for now.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
core/fs/pxe/dhcp_option.c
patch
|
blob
|
history
diff --git
a/core/fs/pxe/dhcp_option.c
b/core/fs/pxe/dhcp_option.c
index
39b5166
..
ee1a378
100644
(file)
--- 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;