= (const struct ipt_log_info *)target->data;
if (strcmp(loginfo->prefix, "") != 0)
- printf("--log-prefix %s ", loginfo->prefix);
+ printf("--log-prefix \"%s\" ", loginfo->prefix);
if (loginfo->level != LOG_DEFAULT_LEVEL)
printf("--log-level %u ", loginfo->level);
= (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 ");