OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 1... | Line 1... | |||
1 | --- a/networking/udhcp/dhcpc.c |
1 | --- a/networking/udhcp/dhcpc.c |
|
2 | +++ b/networking/udhcp/dhcpc.c |
2 | +++ b/networking/udhcp/dhcpc.c |
|
3 | @@ -713,6 +713,7 @@ static int bcast_or_ucast(struct dhcp_pa |
3 | @@ -711,6 +711,7 @@ static int bcast_or_ucast(struct dhcp_pa |
|
4 | static NOINLINE int send_discover(uint32_t xid, uint32_t requested) |
4 | static NOINLINE int send_discover(uint32_t xid, uint32_t requested) |
|
5 | { |
5 | { |
|
6 | struct dhcp_packet packet; |
6 | struct dhcp_packet packet; |
|
7 | + static int msgs = 0; |
7 | + static int msgs = 0; |
|
Line 8... | Line 8... | |||
8 | |
8 | |
|
9 | /* Fill in: op, htype, hlen, cookie, chaddr fields, |
9 | /* Fill in: op, htype, hlen, cookie, chaddr fields, |
|
10 | * random xid field (we override it below), |
10 | * random xid field (we override it below), |
|
11 | @@ -730,6 +731,7 @@ static NOINLINE int send_discover(uint32 |
11 | @@ -728,6 +729,7 @@ static NOINLINE int send_discover(uint32 |
|
12 | */ |
12 | */ |
|
Line 13... | Line 13... | |||
13 | add_client_options(&packet); |
13 | add_client_options(&packet); |
|
14 | |
14 | |