Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Aug 2016 00:06:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 211650] net/ntopng error in src/Flow.cpp:349 reply_code instead of the correct ret_code
Message-ID:  <bug-211650-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211650

            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@FreeBSD.org
          Reporter: rpazo@otspr.net
          Assignee: madpilot@FreeBSD.org
             Flags: maintainer-feedback?(madpilot@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 =3D=3D 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 compili=
ng
successfully, with no further issues. I do not have a patch for it since I
cleaned the directory...

Hope this helps...

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-211650-13>