[Bug 962] New: [PATCH] nfq_ip_snprintf always shows the same address in SRC and DST

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Fri Jun 20 11:46:22 CEST 2014


https://bugzilla.netfilter.org/show_bug.cgi?id=962

           Summary: [PATCH] nfq_ip_snprintf always shows the same address
                    in SRC and DST
           Product: libnetfilter_queue
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: libnetfilter_queue
        AssignedTo: netfilter-buglog at lists.netfilter.org
        ReportedBy: lantw44 at gmail.com
   Estimated Hours: 0.0


Created attachment 446
  --> https://bugzilla.netfilter.org/attachment.cgi?id=446
extra: use inet_ntop instead of inet_ntoa

inet_ntoa() cannot be used twice in the same snprintf() call. I replace
inet_ntoa() with inet_ntop() and the problem is fixed.

-- 
Configure bugmail: https://bugzilla.netfilter.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the netfilter-buglog mailing list