mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 06:14:35 +00:00
zebra: Remove enum around ipv6_nd_suppress_ra_status
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
768e40bde9
commit
57dd86429f
@ -171,7 +171,7 @@ static int rtadv_recv_packet(struct zebra_vrf *zvrf, int sock, uint8_t *buf,
|
||||
|
||||
/* Send router advertisement packet. */
|
||||
static void rtadv_send_packet(int sock, struct interface *ifp,
|
||||
ipv6_nd_suppress_ra_status stop)
|
||||
enum ipv6_nd_suppress_ra_status stop)
|
||||
{
|
||||
struct msghdr msg;
|
||||
struct iovec iov;
|
||||
@ -1003,7 +1003,7 @@ void rtadv_delete_prefix(struct zebra_if *zif, const struct prefix *p)
|
||||
}
|
||||
|
||||
static void ipv6_nd_suppress_ra_set(struct interface *ifp,
|
||||
ipv6_nd_suppress_ra_status status)
|
||||
enum ipv6_nd_suppress_ra_status status)
|
||||
{
|
||||
struct zebra_if *zif;
|
||||
struct zebra_vrf *zvrf;
|
||||
|
@ -147,10 +147,10 @@ enum ipv6_nd_prefix_source {
|
||||
PREFIX_SRC_BOTH,
|
||||
};
|
||||
|
||||
typedef enum {
|
||||
enum ipv6_nd_suppress_ra_status {
|
||||
RA_ENABLE = 0,
|
||||
RA_SUPPRESS,
|
||||
} ipv6_nd_suppress_ra_status;
|
||||
};
|
||||
|
||||
extern void rtadv_init(struct zebra_vrf *zvrf);
|
||||
extern void rtadv_vrf_terminate(struct zebra_vrf *zvrf);
|
||||
|
Loading…
Reference in New Issue
Block a user