every change, whether addition or deletion is done via table-replacement. the only modification operation supported is table replacement. so you're making 6 table replecaments with those 6 commands. On Wed, Jan 11, 2012 at 01:52, Richard Weinberger <richard@xxxxxx> wrote: > Am 11.01.2012 07:45, schrieb Jan Engelhardt: >> On Wednesday 2012-01-11 02:32, Richard Weinberger wrote: >> >>> Hi! >>> >>> I always thought that checkentry()/destroy() are being called upon rule insertion/deletion. >>> So I assumed that this command sequence prints three times "test_tg_check" and then three times >>> "test_tg_destroy". But it's not the case. >> >> One table-replace operation implies add-delete of all rules. > > Okay, I did not know that my simple command sequence is causing a table-replacement. > Why? > > I thought it appends (-A) only... > > Thanks, > //richard > -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html