{"action":"created","issue":{"url":"https://api.github.com/repos/ntop/ntopng/issues/305","labels_url":"https://api.github.com/repos/ntop/ntopng/issues/305/labels{/name}","comments_url":"https://api.github.com/repos/ntop/ntopng/issues/305/comments","events_url":"https://api.github.com/repos/ntop/ntopng/issues/305/events","html_url":"https://github.com/ntop/ntopng/issues/305","id":120540931,"number":305,"title":"[b41f7c28b424a33a28803631518a052ced796063] Compilation Error","user":{"login":"jean-christophe-manciot","id":13176858,"avatar_url":"https://avatars.githubusercontent.com/u/13176858?v=3","gravatar_id":"","url":"https://api.github.com/users/jean-christophe-manciot","html_url":"https://github.com/jean-christophe-manciot","followers_url":"https://api.github.com/users/jean-christophe-manciot/followers","following_url":"https://api.github.com/users/jean-christophe-manciot/following{/other_user}","gists_url":"https://api.github.com/users/jean-christophe-manciot/gists{/gist_id}","starred_url":"https://api.github.com/users/jean-christophe-manciot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jean-christophe-manciot/subscriptions","organizations_url":"https://api.github.com/users/jean-christophe-manciot/orgs","repos_url":"https://api.github.com/users/jean-christophe-manciot/repos","events_url":"https://api.github.com/users/jean-christophe-manciot/events{/privacy}","received_events_url":"https://api.github.com/users/jean-christophe-manciot/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-05T08:40:55Z","updated_at":"2015-12-05T08:41:47Z","closed_at":"2015-12-05T08:41:47Z","body":"src/NetworkInterface.cpp: In member function ‘bool NetworkInterface::packetProcessing(const timeval*, u_int64_t, ndpi_ethhdr*, u_int16_t, ndpi_iphdr*, ndpi_ipv6hdr*, u_int16_t, u_int16_t, const pcap_pkthdr*, const u_char*, int*, int*)’:\r\nsrc/NetworkInterface.cpp:699:32: error: ‘struct ndpi_ipv6hdr’ has no member named ‘ip6_ctlun’\r\n     l4_packet_len = ntohs(ip6->ip6_ctlun.ip6_un1.ip6_un1_plen);\r\n                                ^\r\nsrc/NetworkInterface.cpp:700:21: error: ‘struct ndpi_ipv6hdr’ has no member named ‘ip6_ctlun’\r\n     l4_proto = ip6->ip6_ctlun.ip6_un1.ip6_un1_nxt;\r\n                     ^\r\nsrc/NetworkInterface.cpp:759:27: error: ‘struct ndpi_ipv6hdr’ has no member named ‘ip6_src’\r\n     src_ip.set_ipv6(&ip6->ip6_src);\r\n                           ^\r\nsrc/NetworkInterface.cpp:760:27: error: ‘struct ndpi_ipv6hdr’ has no member named ‘ip6_dst’\r\n     dst_ip.set_ipv6(&ip6->ip6_dst);\r\n                           ^\r\nsrc/NetworkInterface.cpp:834:36: error: invalid use of incomplete type ‘struct NetworkInterface::packetProcessing(const timeval*, u_int64_t, ndpi_ethhdr*, u_int16_t, ndpi_iphdr*, ndpi_ipv6hdr*, u_int16_t, u_int16_t, const pcap_pkthdr*, const u_char*, int*, int*)::ndpi_dns_packet_header’\r\n  u_int16_t dns_flags = ntohs(header->flags);\r\n                                    ^\r\nsrc/NetworkInterface.cpp:833:9: note: forward declaration of ‘struct NetworkInterface::packetProcessing(const timeval*, u_int64_t, ndpi_ethhdr*, u_int16_t, ndpi_iphdr*, ndpi_ipv6hdr*, u_int16_t, u_int16_t, const pcap_pkthdr*, const u_char*, int*, int*)::ndpi_dns_packet_header’\r\n  struct ndpi_dns_packet_header *header = (struct ndpi_dns_packet_header*)payload;\r\n         ^\r\nsrc/NetworkInterface.cpp: In member function ‘bool NetworkInterface::packet_dissector(const pcap_pkthdr*, const u_char*, int*, int*)’:\r\nsrc/NetworkInterface.cpp:1311:22: error: ‘struct ndpi_ipv6hdr’ has no member named ‘ip6_ctlun’\r\n       if((ntohl(ip6->ip6_ctlun.ip6_un1.ip6_un1_flow) & 0xF0000000) != 0x60000000) {\r\n                      ^\r\nsrc/NetworkInterface.cpp:1317:27: error: ‘struct ndpi_ipv6hdr’ has no member named ‘ip6_ctlun’\r\n  u_int8_t l4_proto = ip6->ip6_ctlun.ip6_un1.ip6_un1_nxt;\r\n                           ^\r\nMakefile:129: recipe for target 'src/NetworkInterface.o' failed\r\nmake: *** [src/NetworkInterface.o] Error 1\r\n\r\n[Compilation Error.txt](https://github.com/ntop/ntopng/files/52784/Compilation.Error.txt)\r\n"},"comment":{"url":"https://api.github.com/repos/ntop/ntopng/issues/comments/162161839","html_url":"https://github.com/ntop/ntopng/issues/305#issuecomment-162161839","issue_url":"https://api.github.com/repos/ntop/ntopng/issues/305","id":162161839,"user":{"login":"lucaderi","id":4493366,"avatar_url":"https://avatars.githubusercontent.com/u/4493366?v=3","gravatar_id":"","url":"https://api.github.com/users/lucaderi","html_url":"https://github.com/lucaderi","followers_url":"https://api.github.com/users/lucaderi/followers","following_url":"https://api.github.com/users/lucaderi/following{/other_user}","gists_url":"https://api.github.com/users/lucaderi/gists{/gist_id}","starred_url":"https://api.github.com/users/lucaderi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucaderi/subscriptions","organizations_url":"https://api.github.com/users/lucaderi/orgs","repos_url":"https://api.github.com/users/lucaderi/repos","events_url":"https://api.github.com/users/lucaderi/events{/privacy}","received_events_url":"https://api.github.com/users/lucaderi/received_events","type":"User","site_admin":false},"created_at":"2015-12-05T08:41:47Z","updated_at":"2015-12-05T08:41:47Z","body":"please refresh nDPI and it will work."}}