We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04eaff0 commit 296310cCopy full SHA for 296310c
1 file changed
iptc/xtables.py
@@ -386,8 +386,7 @@ class _xtables_match_v10(ct.Structure):
386
("save", ct.CFUNCTYPE(None, ct.c_void_p,
387
ct.POINTER(xt_entry_match))),
388
# Print match name or alias
389
- ("alias", ct.CFUNCTYPE(ct.c_char_p, ct.c_void_p,
390
- ct.POINTER(xt_entry_match))),
+ ("alias", ct.CFUNCTYPE(ct.c_char_p, ct.POINTER(xt_entry_match))),
391
# pointer to list of extra command-line options
392
("extra_opts", ct.POINTER(option)),
393
@@ -636,8 +635,7 @@ class _xtables_target_v10(ct.Structure):
636
635
637
ct.POINTER(xt_entry_target))),
638
# Print target name or alias
639
640
- ct.POINTER(xt_entry_target))),
+ ("alias", ct.CFUNCTYPE(ct.c_char_p, ct.POINTER(xt_entry_target))),
641
642
643
0 commit comments