aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/interface_funcs.h
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2018-10-30 03:47:20 -0700
committerDamjan Marion <dmarion@me.com>2018-10-30 13:37:41 +0000
commit8f8994ad599fc556e2325a4f5f9ea33eeb3e25b4 (patch)
tree89c5a69dd420d01cf7ea2fe58c7f4a737a60d9b4 /src/vnet/interface_funcs.h
parent1511a4e953a608eeca9cf566c40ef23232f50f57 (diff)
change mac address functions take const mac
Change-Id: Ia68db22b917e9af1394c00e5a6b3df134bfd1568 Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/interface_funcs.h')
-rw-r--r--src/vnet/interface_funcs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/interface_funcs.h b/src/vnet/interface_funcs.h
index 00fc289b46a..a3bfdc970d4 100644
--- a/src/vnet/interface_funcs.h
+++ b/src/vnet/interface_funcs.h
@@ -344,7 +344,7 @@ clib_error_t *vnet_rename_interface (vnet_main_t * vnm, u32 hw_if_index,
/* Change interface mac address*/
clib_error_t *vnet_hw_interface_change_mac_address (vnet_main_t * vnm,
u32 hw_if_index,
- u8 * mac_address);
+ const u8 * mac_address);
/* Change rx-mode */
clib_error_t *set_hw_interface_change_rx_mode (vnet_main_t * vnm,