aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/stn/stn_test.c
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2018-03-01 13:49:00 +0100
committerNeale Ranns <nranns@cisco.com>2018-03-01 14:35:39 +0000
commit62bab658e7ca782c8d35dacacfa5906ddbcaf437 (patch)
tree264490a0f2d137e92aafd9e817f16c67802be7f4 /src/plugins/stn/stn_test.c
parent2bf8b8154d0e1707fbf8502eb8e85fdda885a8e5 (diff)
STN: Fix stn_rules_dump/details to follow API convention
Change-Id: I94f6c35bf751d25ca7fe7c67054e676a3ad2241b Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'src/plugins/stn/stn_test.c')
-rw-r--r--src/plugins/stn/stn_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/stn/stn_test.c b/src/plugins/stn/stn_test.c
index a4497cd22ab..8fdbeb926b6 100644
--- a/src/plugins/stn/stn_test.c
+++ b/src/plugins/stn/stn_test.c
@@ -67,7 +67,7 @@ stn_test_main_t stn_test_main;
* we just generated
*/
#define foreach_stn_api_reply_msg \
-_(STN_RULE_DETAILS, stn_rule_details)
+_(STN_RULES_DETAILS, stn_rules_details)
static int
api_stn_rules_dump (vat_main_t * vam)
@@ -102,7 +102,7 @@ api_stn_rules_dump (vat_main_t * vam)
}
static void
-vl_api_stn_rule_details_t_handler (vl_api_stn_rule_details_t * mp)
+vl_api_stn_rules_details_t_handler (vl_api_stn_rules_details_t * mp)
{
vat_main_t *vam = stn_test_main.vat_main;
fformat (vam->ofp, "addr: %U sw_if_index: %u\n",