diff options
| author | Roy Marples <roy@marples.name> | 2020-04-09 16:19:07 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2020-04-09 16:19:07 +0000 |
| commit | ed8ee248c69fc67fe868637244f69ec565b8a4bb (patch) | |
| tree | 640a40dee09bce57193f5ec50d255bcb16e19122 /src/ipv6nd.c | |
| parent | 2b9209e5335ed10ab95f11f788718d11666cc3f3 (diff) | |
| download | dhcpcd-ed8ee248c69fc67fe868637244f69ec565b8a4bb.tar.xz | |
Linux: Note router preference when adding routes
This appears to just be cosmetic.
Diffstat (limited to 'src/ipv6nd.c')
| -rw-r--r-- | src/ipv6nd.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/ipv6nd.c b/src/ipv6nd.c index 2860e67c..7ce34001 100644 --- a/src/ipv6nd.c +++ b/src/ipv6nd.c @@ -101,13 +101,6 @@ __CTASSERT(sizeof(struct nd_opt_rdnss) == 8); #define ND_RA_FLAG_RTPREF_RSV 0x10 #endif -/* RTPREF_MEDIUM has to be 0! */ -#define RTPREF_HIGH 1 -#define RTPREF_MEDIUM 0 -#define RTPREF_LOW (-1) -#define RTPREF_RESERVED (-2) -#define RTPREF_INVALID (-3) /* internal */ - #define EXPIRED_MAX 5 /* Remember 5 expired routers to avoid logspam. */ @@ -580,7 +573,7 @@ ipv6nd_startexpire(struct interface *ifp) RTR_CARRIER_EXPIRE, ipv6nd_expire, ifp); } -static int +int ipv6nd_rtpref(struct ra *rap) { |
