Changeset 22182 in vbox for trunk/src/VBox
- Timestamp:
- Aug 11, 2009 4:48:50 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/bootp.c
r22159 r22182 333 333 static int dhcp_send_offer(PNATState pData, struct bootp_t *bp, BOOTPClient *bc, struct mbuf *m) 334 334 { 335 struct bootp_t *rbp;336 335 int off = 0; /* boot_reply will fill general options and add END before sending response*/ 337 336 … … 356 355 static int dhcp_decode_request(PNATState pData, struct bootp_t *bp, const uint8_t *buf, int size, struct mbuf *m) 357 356 { 358 BOOTPClient *bc ;357 BOOTPClient *bc = NULL; 359 358 struct in_addr daddr; 360 359 int off; … … 394 393 else 395 394 { 395 /*see table 4 rfc2131*/ 396 396 if (bp->bp_flags & DHCP_FLAGS_B) 397 dhcp_stat = RE NEWING;397 dhcp_stat = REBINDING; 398 398 else 399 dhcp_stat = RE BINDING; /*??rebinding??*/399 dhcp_stat = RENEWING; 400 400 } 401 401 }
Note:
See TracChangeset
for help on using the changeset viewer.