Mailing List Archive

[PATCH 36/57] tests: update ecommunity_ecom2str call api
Test adaptation using updated API, introducing new ecommunity type.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
---
tests/ecommunity_test.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/ecommunity_test.c b/tests/ecommunity_test.c
index 23ee4058379b..dae12f639064 100644
--- a/tests/ecommunity_test.c
+++ b/tests/ecommunity_test.c
@@ -96,10 +96,10 @@ validate (struct ecommunity *ecom, const struct test_spec *sp)
char *str1, *str2;

printf ("got:\n %s\n", ecommunity_str (ecom));
- str1 = ecommunity_ecom2str (ecom, ECOMMUNITY_FORMAT_COMMUNITY_LIST);
+ str1 = ecommunity_ecom2str (ecom, ECOMMUNITY_FORMAT_COMMUNITY_LIST, 0);
etmp = ecommunity_str2com (str1, 0, 1);
if (etmp)
- str2 = ecommunity_ecom2str (etmp, ECOMMUNITY_FORMAT_COMMUNITY_LIST);
+ str2 = ecommunity_ecom2str (etmp, ECOMMUNITY_FORMAT_COMMUNITY_LIST, 0);
else
str2 = NULL;

--
2.1.4


_______________________________________________
Quagga-dev mailing list
Quagga-dev@lists.quagga.net
https://lists.quagga.net/mailman/listinfo/quagga-dev