Hi all,

Attached is a minor fix for ULOG save and fix
functions.

Cheers..

Subodh

__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com
diff -Nru userspace.orig/extensions/libipt_ULOG.c userspace/extensions/libipt_ULOG.c
--- userspace.orig/extensions/libipt_ULOG.c     Wed May  1 14:15:12 2002
+++ userspace/extensions/libipt_ULOG.c  Sat Apr 20 19:35:40 2002
@@ -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 ");
@@ -183,7 +183,7 @@
        printf("copy_range %d nlgroup ", loginfo->copy_range);
        print_groups(loginfo->nl_group);
        if (strcmp(loginfo->prefix, "") != 0)
-               printf("prefix `%s' ", loginfo->prefix);
+               printf("prefix \"%s\" ", loginfo->prefix);
        printf("queue_threshold %d ", loginfo->qthreshold);
 }

Reply via email to