[Bug 211650] net/ntopng error in src/Flow.cpp:349 reply_code instead of the correct ret_code

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Aug 8 00:06:05 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211650

            Bug ID: 211650
           Summary: net/ntopng error in src/Flow.cpp:349 reply_code
                    instead of the correct ret_code
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: madpilot at FreeBSD.org
          Reporter: rpazo at otspr.net
          Assignee: madpilot at FreeBSD.org
             Flags: maintainer-feedback?(madpilot at FreeBSD.org)

When building ntopng I ran in to this error:

src/Flow.cpp:349:28: error: no member named 'reply_code' in
'ndpi_flow_struct::<anonymous struct at
      /usr/local/include/libndpi-1.8.0/libndpi/ndpi_typedefs.h:913:5>'; did you
mean 'ret_code'?
          if(ndpiFlow->protos.dns.reply_code == 0) {
                                  ^~~~~~~~~~
                                  ret_code
/usr/local/include/libndpi-1.8.0/libndpi/ndpi_typedefs.h:914:29: note:
'ret_code' declared here
      u_int8_t num_answers, ret_code;


I switched reply_code to ret_code and then it finished building and compiling
successfully, with no further issues. I do not have a patch for it since I
cleaned the directory...

Hope this helps...

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list