diff options
author | Denys Vlasenko | 2009-06-16 10:25:35 +0200 |
---|---|---|
committer | Denys Vlasenko | 2009-06-16 10:25:35 +0200 |
commit | 56f2d06c6496e49d7e752d1ee5ac5ea420b4ed11 (patch) | |
tree | 2f972e9026ee995e1ebe146b05e608af3b2785ee /networking/udhcp/common.h | |
parent | 990a617edfd9040594c0889d2dd23eb7ef91c695 (diff) | |
download | busybox-56f2d06c6496e49d7e752d1ee5ac5ea420b4ed11.zip busybox-56f2d06c6496e49d7e752d1ee5ac5ea420b4ed11.tar.gz |
udhcp: rename sprintip to sprint_nip, siaddr to siaddr_nip
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/common.h')
-rw-r--r-- | networking/udhcp/common.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/networking/udhcp/common.h b/networking/udhcp/common.h index fef0b66..de784ad 100644 --- a/networking/udhcp/common.h +++ b/networking/udhcp/common.h @@ -34,13 +34,13 @@ struct dhcpMessage { #define BROADCAST_FLAG 0x8000 /* "I need broadcast replies" */ uint32_t ciaddr; /* client IP (if client is in BOUND, RENEW or REBINDING state) */ uint32_t yiaddr; /* 'your' (client) IP address */ - uint32_t siaddr; /* IP address of next server to use in bootstrap, - * returned in DHCPOFFER, DHCPACK by server */ + /* IP address of next server to use in bootstrap, returned in DHCPOFFER, DHCPACK by server */ + uint32_t siaddr_nip; uint32_t gateway_nip; /* relay agent IP address */ - uint8_t chaddr[16];/* link-layer client hardware address (MAC) */ - uint8_t sname[64]; /* server host name (ASCIZ) */ - uint8_t file[128]; /* boot file name (ASCIZ) */ - uint32_t cookie; /* fixed first four option bytes (99,130,83,99 dec) */ + uint8_t chaddr[16]; /* link-layer client hardware address (MAC) */ + uint8_t sname[64]; /* server host name (ASCIZ) */ + uint8_t file[128]; /* boot file name (ASCIZ) */ + uint32_t cookie; /* fixed first four option bytes (99,130,83,99 dec) */ uint8_t options[DHCP_OPTIONS_BUFSIZE + CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS]; } PACKED; |