Explorar o código

nathelper: updating the exported expected parameters to match the functions

- Mismatch between export and function declaration with regards to the quantity of parameters
Samuel %!s(int64=7) %!d(string=hai) anos
pai
achega
3c64668df3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/modules/nathelper/nathelper.c

+ 1 - 1
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"),