[Bug 35] New: typo in extensions/libipt_ULOG.c

bugzilla-daemon@netfilter.org bugzilla-daemon@netfilter.org
Sun, 02 Feb 2003 00:07:11 +0100


https://bugzilla.netfilter.org/cgi-bin/bugzilla/show_bug.cgi?id=35

           Summary: typo in extensions/libipt_ULOG.c
           Product: iptables userspace
           Version: 1.2.7a
          Platform: All
        OS/Version: other
            Status: NEW
          Severity: minor
          Priority: P2
         Component: iptables-save
        AssignedTo: laforge@netfilter.org
        ReportedBy: nick.orlov@mail.ru
                CC: netfilter-buglog@lists.netfilter.org


Because of typo in extensions/libipt_ULOG.c "ulog-prefix" parameter for "ULOG"
target saved incorrectly. Patch below.

--- iptables-1.2.7a/extensions/libipt_ULOG.c.orig       2002-05-29
09:08:16.000000000 -0400
+++ iptables-1.2.7a/extensions/libipt_ULOG.c    2003-02-01 17:35:10.000000000 -0500
@@ -157,7 +157,7 @@
            = (const struct ipt_ulog_info *) target->data;
 
        if (strcmp(loginfo->prefix, "") != 0)
-               printf("--ulog-prefix %s ", loginfo->prefix);
+               printf("--ulog-prefix \"%s\" ", loginfo->prefix);
 
        if (loginfo->nl_group != ULOG_DEFAULT_NLGROUP) {
                printf("--ulog-nlgroup ");



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.