diff options
author | Neale Ranns <nranns@cisco.com> | 2020-04-23 07:36:12 +0000 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2020-04-24 09:24:43 +0000 |
commit | ec40a7d2bce4bba67af3b3d971547d40e90fdf97 (patch) | |
tree | 8cab359d02dfce38d57f7d9b2e741e7a406ef6b1 /src/vnet/ip/ip6_link.h | |
parent | 82b62bbf58bc3d1143a359d8f58f7be2f473cddd (diff) |
ip: Setting the Link-Local address from the API enables IPv6 on the
interface
Type: fix
Signed-off-by: Neale Ranns <nranns@cisco.com>
Change-Id: I0b7c189006e30a357cd6be4f3c9c61fded4157cb
Diffstat (limited to 'src/vnet/ip/ip6_link.h')
-rw-r--r-- | src/vnet/ip/ip6_link.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/vnet/ip/ip6_link.h b/src/vnet/ip/ip6_link.h index 01506bb4765..a9dfa5edcb0 100644 --- a/src/vnet/ip/ip6_link.h +++ b/src/vnet/ip/ip6_link.h @@ -19,13 +19,14 @@ * IPv6 Configuration on an interface */ -extern int ip6_link_enable (u32 sw_if_index); +extern int ip6_link_enable (u32 sw_if_index, + const ip6_address_t * link_local_addr); extern bool ip6_link_is_enabled (u32 sw_if_index); extern int ip6_link_disable (u32 sw_if_index); extern const ip6_address_t *ip6_get_link_local_address (u32 sw_if_index); -extern int ip6_set_link_local_address (u32 sw_if_index, +extern int ip6_link_set_local_address (u32 sw_if_index, const ip6_address_t * address); extern adj_index_t ip6_link_get_mcast_adj (u32 sw_if_index); |