diff options
| author | Roy Marples <roy@marples.name> | 2017-10-03 11:17:21 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2017-10-03 11:17:21 +0100 |
| commit | 56d4688b6b434ba6ca1b0fa2cc0997484c144de5 (patch) | |
| tree | 67e4fafc4dbb47d919b3d2ffde5e8bdcdb726bcf /src/ipv6nd.c | |
| parent | 6986c49ab015bb306869eb650ef5c6e9cdafb54f (diff) | |
| download | dhcpcd-56d4688b6b434ba6ca1b0fa2cc0997484c144de5.tar.xz | |
ipv6nd_freedrop is no longer public.
Diffstat (limited to 'src/ipv6nd.c')
| -rw-r--r-- | src/ipv6nd.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ipv6nd.c b/src/ipv6nd.c index 24b1cf55..b9847865 100644 --- a/src/ipv6nd.c +++ b/src/ipv6nd.c @@ -158,6 +158,10 @@ static void ipv6nd_handledata(void *); #define IPV6_RECVPKTINFO IPV6_PKTINFO #endif +/* Handy defines */ +#define ipv6nd_free_ra(ra) ipv6nd_freedrop_ra((ra), 0) +#define ipv6nd_drop_ra(ra) ipv6nd_freedrop_ra((ra), 1) + void ipv6nd_printoptions(const struct dhcpcd_ctx *ctx, const struct dhcp_opt *opts, size_t opts_len) @@ -455,7 +459,7 @@ ipv6nd_removefreedrop_ra(struct ra *rap, int remove_ra, int drop_ra) free(rap); } -void +static void ipv6nd_freedrop_ra(struct ra *rap, int drop) { |
