diff options
author | Martin Josefsson <gandalf@wlug.westbo.se> | 2004-09-22 19:39:40 +0000 |
---|---|---|
committer | Martin Josefsson <gandalf@wlug.westbo.se> | 2004-09-22 19:39:40 +0000 |
commit | 52c380208a87191a8c25608d2c501c0dc32aa9ad (patch) | |
tree | e44fe71441e41415a8ffc0948effaae94590d4b7 /libiptc | |
parent | 4066ee9e891e1d482cb90fb7c47213bfa6f3fb5b (diff) |
Fix listing of module targets.
Type was only set for standard targets.
Harald: please review.
Diffstat (limited to 'libiptc')
-rw-r--r-- | libiptc/libiptc.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libiptc/libiptc.c b/libiptc/libiptc.c index f017e498..ce53918b 100644 --- a/libiptc/libiptc.c +++ b/libiptc/libiptc.c @@ -1,4 +1,4 @@ -/* Library which manipulates firewall rules. Version $Revision: 1.49 $ */ +/* Library which manipulates firewall rules. Version $Revision: 1.50 $ */ /* Architecture of firewall rules is as follows: * @@ -498,6 +498,9 @@ new_rule: * until second pass, since we migh not * yet have parsed the target */ } + } else { + DEBUGP_C("module, target=%s\n", GET_TARGET(e)->u.user.name); + r->type = IPTCC_R_MODULE; } list_add_tail(&r->list, &h->chain_iterator_cur->rules); |