aboutsummaryrefslogtreecommitdiffstats
path: root/vpp
diff options
context:
space:
mode:
authorChris Luke <chrisy@flirble.org>2016-06-28 19:54:21 -0400
committerDave Barach <openvpp@barachs.net>2016-06-29 19:49:21 +0000
commit33879c95b865d62b07f8390692dc3c7294a57375 (patch)
treea5dc448c7d1abb4bcf0a73526a57954f9709c69b /vpp
parent006eb2689b901b4700f4360cc0417c6c0d93cc46 (diff)
Fix the spelling of the word "suppress".
The spelling mistake where "suppress" is written as "surpress" was sufficiently common and annoyed me enough to fix it. For backwards compatibility, the CLI and API test tool both still accept the erroneous spelling. Change-Id: I82104ae9d8c2c9d6e3396ba0d72cb1dc133081d1 Signed-off-by: Chris Luke <chrisy@flirble.org>
Diffstat (limited to 'vpp')
-rw-r--r--vpp/vpp-api/api.c6
-rw-r--r--vpp/vpp-api/custom_dump.c4
-rw-r--r--vpp/vpp-api/test_client.c2
-rw-r--r--vpp/vpp-api/vpe.api4
4 files changed, 8 insertions, 8 deletions
diff --git a/vpp/vpp-api/api.c b/vpp/vpp-api/api.c
index fbe33fe1..9df8791b 100644
--- a/vpp/vpp-api/api.c
+++ b/vpp/vpp-api/api.c
@@ -3111,10 +3111,10 @@ vl_api_sw_interface_ip6nd_ra_config_t_handler
{
vl_api_sw_interface_ip6nd_ra_config_reply_t * rmp;
int rv = 0;
- u8 is_no, surpress, managed, other, ll_option, send_unicast, cease, default_router;
+ u8 is_no, suppress, managed, other, ll_option, send_unicast, cease, default_router;
is_no = mp->is_no == 1;
- surpress = mp->surpress == 1;
+ suppress = mp->suppress == 1;
managed = mp->managed == 1;
other = mp->other == 1;
ll_option = mp->ll_option == 1;
@@ -3125,7 +3125,7 @@ vl_api_sw_interface_ip6nd_ra_config_t_handler
VALIDATE_SW_IF_INDEX(mp);
rv = ip6_neighbor_ra_config(vm, ntohl(mp->sw_if_index),
- surpress, managed, other,
+ suppress, managed, other,
ll_option, send_unicast, cease,
default_router, ntohl (mp->lifetime),
ntohl(mp->initial_count), ntohl(mp->initial_interval),
diff --git a/vpp/vpp-api/custom_dump.c b/vpp/vpp-api/custom_dump.c
index ac90a56f..d28882f6 100644
--- a/vpp/vpp-api/custom_dump.c
+++ b/vpp/vpp-api/custom_dump.c
@@ -943,8 +943,8 @@ static void *vl_api_sw_interface_ip6nd_ra_config_t_print
s = format (s, "interval %d ", ntohl(mp->initial_interval));
- if (mp->surpress)
- s = format (s, "surpress ");
+ if (mp->suppress)
+ s = format (s, "suppress ");
if (mp->managed)
s = format (s, "managed ");
diff --git a/vpp/vpp-api/test_client.c b/vpp/vpp-api/test_client.c
index 92cf4531..99d1012a 100644
--- a/vpp/vpp-api/test_client.c
+++ b/vpp/vpp-api/test_client.c
@@ -1124,7 +1124,7 @@ void ip6nd_ra_config(test_main_t *tm, int is_no)
mp->sw_if_index = ntohl(5);
mp->is_no = is_no;
- mp->surpress = 1;
+ mp->suppress = 1;
mp->_vl_msg_id = ntohs (VL_API_SW_INTERFACE_IP6ND_RA_CONFIG);
diff --git a/vpp/vpp-api/vpe.api b/vpp/vpp-api/vpe.api
index 033ba240..c2fbf2eb 100644
--- a/vpp/vpp-api/vpe.api
+++ b/vpp/vpp-api/vpe.api
@@ -857,7 +857,7 @@ define set_ip_flow_hash_reply {
/** \brief IPv6 router advertisement config request
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
- @param surpress -
+ @param suppress -
@param managed -
@param other -
@param ll_option -
@@ -875,7 +875,7 @@ define sw_interface_ip6nd_ra_config {
u32 client_index;
u32 context;
u32 sw_if_index;
- u8 surpress;
+ u8 suppress;
u8 managed;
u8 other;
u8 ll_option;