From ac134a4a5b83c6a659ff83742b3b078e6ea00bf1 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Sat, 31 Oct 2015 11:30:19 +0100 Subject: [PATCH] route-add: corrected CIDR route macro to conform to documentation --- src/route-add.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/route-add.c b/src/route-add.c index e6fc47d7..7d6eb9ed 100644 --- a/src/route-add.c +++ b/src/route-add.c @@ -44,7 +44,7 @@ int replace_cmd(struct main_server_st* s, proc_st *proc, STR_TAB_SET(1, "%R", route); STR_TAB_SET(2, "%{D}", dev); STR_TAB_SET(3, "%D", dev); - STR_TAB_SET_FUNC(4, "%{RC}", ipv4_route_to_cidr, route); + STR_TAB_SET_FUNC(4, "%{RI}", ipv4_route_to_cidr, route); STR_TAB_TERM(5); str_init(&str, proc);