diff --git a/doc/changelog.txt b/doc/changelog.txt index cf7c650..e461f13 100644 --- a/doc/changelog.txt +++ b/doc/changelog.txt @@ -1,6 +1,7 @@ - condition: compile fix for 2.6.30-rc +- condition: fix intrapositional negation sign - fuzzy: fix bogus comparison logic leftover from move to new 1.4.3 API - ipp2p: fix bogus varargs call - ipp2p: fix typo in error message diff --git a/extensions/libxt_condition.c b/extensions/libxt_condition.c index 6438e45..7a13d27 100644 --- a/extensions/libxt_condition.c +++ b/extensions/libxt_condition.c @@ -74,7 +74,7 @@ static void condition_save(const void *ip, const struct xt_entry_match *match) { const struct xt_condition_mtinfo *info = (const void *)match->data; - printf("--condition %s\"%s\" ", (info->invert) ? "! " : "", info->name); + printf("%s--condition \"%s\" ", info->invert ? "! " : "", info->name); } static struct xtables_match condition_mt_reg = {