git://git.onelab.eu
/
iptables.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6f70029
)
Added copy-xid action to print() and save() functions
author
Andy Bavier
<acb@cs.princeton.edu>
Fri, 25 Jul 2008 18:23:44 +0000
(18:23 +0000)
committer
Andy Bavier
<acb@cs.princeton.edu>
Fri, 25 Jul 2008 18:23:44 +0000
(18:23 +0000)
extensions/libipt_MARK.c
patch
|
blob
|
history
diff --git
a/extensions/libipt_MARK.c
b/extensions/libipt_MARK.c
index
dd7bbaf
..
56b71b0
100644
(file)
--- a/
extensions/libipt_MARK.c
+++ b/
extensions/libipt_MARK.c
@@
-182,6
+182,9
@@
print_v1(const struct ipt_ip *ip,
case IPT_MARK_OR:
printf("MARK or ");
break;
+ case IPT_MARK_COPYXID:
+ printf("MARK copyxid ");
+ break;
}
print_mark(markinfo->mark);
}
@@
-203,6
+206,9
@@
save_v1(const struct ipt_ip *ip, const struct ipt_entry_target *target)
case IPT_MARK_OR:
printf("--or-mark ");
break;
+ case IPT_MARK_COPYXID:
+ printf("--copy-xid ");
+ break;
}
print_mark(markinfo->mark);
}