static struct hep_ctx ctx = {
        .initfails = 0,
        .hints = {{ .ai_socktype = SOCK_DGRAM }},
        .capt_host  = "10.0.0.1",
        .capt_port  = "9060",
        .capt_id = 101,
        .hep_version = 3,
        .usessl = 0,
        .pl_compress = 0,
        .sendPacketsCount = 0
};

static struct hep_ctx ctx = {
        .initfails = 0,
        .hints = {{ 0 }},
        .capt_host  = "10.0.0.1",
        .capt_port  = "9060",
        .hints = {{ .ai_socktype = SOCK_DGRAM }},
        .capt_id = 101,
        .hep_version = 3,
        .usessl = 0,
        .pl_compress = 0,
        .sendPacketsCount = 0
};

--- 
+++ 
@@ -1,9 +1,8 @@
 static struct hep_ctx ctx = {
         .initfails = 0,
-        .hints = {{ 0 }},
+        .hints = {{ .ai_socktype = SOCK_DGRAM }},
         .capt_host  = "10.0.0.1",
         .capt_port  = "9060",
-        .hints = {{ .ai_socktype = SOCK_DGRAM }},
         .capt_id = 101,
         .hep_version = 3,
         .usessl = 0,
Move .hints definition in place.
