diff options
| author | Roy Marples <roy@marples.name> | 2019-11-10 21:12:31 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2019-11-10 21:12:31 +0000 |
| commit | 7752bf8bf65b1ccb714899364c5d3eb4f7aedaa4 (patch) | |
| tree | 606da73912fe39da25da9dc1e37cbf0b69fa41fd /src/ipv6nd.c | |
| parent | c7312d1852168efe3307188e6d2874b7d73d8c9d (diff) | |
| download | dhcpcd-7752bf8bf65b1ccb714899364c5d3eb4f7aedaa4.tar.xz | |
RA: Set mtu to zero and then pull in the MTU option if any
Incase the router sets it back to unspecified.
Diffstat (limited to 'src/ipv6nd.c')
| -rw-r--r-- | src/ipv6nd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ipv6nd.c b/src/ipv6nd.c index e9d2a950..06e158b9 100644 --- a/src/ipv6nd.c +++ b/src/ipv6nd.c @@ -1121,6 +1121,7 @@ ipv6nd_handlera(struct dhcpcd_ctx *ctx, rap->hasdns = false; rap->isreachable = true; has_address = false; + rap->mtu = 0; #ifdef IPV6_AF_TEMPORARY ipv6_markaddrsstale(ifp, IPV6_AF_TEMPORARY); |
