소스 검색

nathelper: updating the exported expected parameters to match the functions

- Mismatch between export and function declaration with regards to the quantity of parameters
Samuel 7 년 전
부모
커밋
3c64668df3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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"),
 	{ str_init("nathelper"), str_init("is_rfc1918"),
 		SR_KEMIP_INT, 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 }
 			SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
 	},
 	},
 	{ str_init("nathelper"), str_init("add_contact_alias"),
 	{ str_init("nathelper"), str_init("add_contact_alias"),