From c2f41bf302e497c97e918cd8c0b616dd2d3eaba2 Mon Sep 17 00:00:00 2001 From: Samuel Date: Sun, 26 Nov 2017 21:49:49 +0100 Subject: [PATCH] nathelper: updating the exported expected parameters to match the functions - Mismatch between export and function declaration with regards to the quantity of parameters (cherry picked from commit 3c64668df34fb0708a34ae103d78c8884f8337cf) --- src/modules/nathelper/nathelper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/nathelper/nathelper.c b/src/modules/nathelper/nathelper.c index 5e7b82b6171..440033db1a1 100644 --- a/src/modules/nathelper/nathelper.c +++ b/src/modules/nathelper/nathelper.c @@ -2394,7 +2394,7 @@ static sr_kemi_t sr_kemi_nathelper_exports[] = { }, { str_init("nathelper"), str_init("is_rfc1918"), SR_KEMIP_INT, is_rfc1918, - { SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE, + { SR_KEMIP_STR, SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE } }, { str_init("nathelper"), str_init("add_contact_alias"),