Module: kamailio
Branch: master
Commit: 4de01bbf3c0a80e67554285988a92fcf18ff9f2b
URL:
https://github.com/kamailio/kamailio/commit/4de01bbf3c0a80e67554285988a92fc…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-10-17T09:15:03+02:00
geoip: fixed typo in definition of gip variable
---
Modified: src/modules/geoip/geoip_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/4de01bbf3c0a80e67554285988a92fc…
Patch:
https://github.com/kamailio/kamailio/commit/4de01bbf3c0a80e67554285988a92fc…
---
diff --git a/src/modules/geoip/geoip_mod.c b/src/modules/geoip/geoip_mod.c
index ab827a17a5..556806ea80 100644
--- a/src/modules/geoip/geoip_mod.c
+++ b/src/modules/geoip/geoip_mod.c
@@ -46,7 +46,7 @@ static int w_geoip_match(struct sip_msg* msg, char* str1, char* str2);
static int geoip_match(sip_msg_t *msg, str *tomatch, str *pvclass);
static pv_export_t mod_pvs[] = {
- { {"gip", sizeof("git")-1}, PVT_OTHER, pv_get_geoip, 0,
+ { {"gip", sizeof("gip")-1}, PVT_OTHER, pv_get_geoip, 0,
pv_parse_geoip_name, 0, 0, 0 },
{ {0, 0}, 0, 0, 0, 0, 0, 0, 0 }
};
@@ -153,4 +153,4 @@ static sr_kemi_t sr_kemi_geoip_exports[] = {
int mod_register(char *path, int *dlflags, void *p1, void *p2) {
sr_kemi_modules_add(sr_kemi_geoip_exports);
return 0;
-}
\ No newline at end of file
+}