diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2010-07-23 21:16:14 +0200 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2010-07-23 21:25:43 +0200 |
commit | 32b8e61e4e5bd405d9ad07bf9468498dfbb19f9e (patch) | |
tree | 5a9fab83069d6dd29263906b88f58f58aec7d4e0 /extensions/libxt_owner.c | |
parent | 854fe779211ffa051009b68b3f07673938b714c5 (diff) |
all: consistent syntax use in struct option
Try to inhibit copypasting old stuff.
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'extensions/libxt_owner.c')
-rw-r--r-- | extensions/libxt_owner.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/libxt_owner.c b/extensions/libxt_owner.c index b595d972..4015f137 100644 --- a/extensions/libxt_owner.c +++ b/extensions/libxt_owner.c @@ -113,7 +113,7 @@ static const struct option owner_mt_opts_v0[] = { #ifdef IPT_OWNER_COMM {.name = "cmd-owner", .has_arg = true, .val = 'c'}, #endif - { .name = NULL } + XT_GETOPT_TABLEEND, }; static const struct option owner_mt6_opts_v0[] = { @@ -121,14 +121,14 @@ static const struct option owner_mt6_opts_v0[] = { {.name = "gid-owner", .has_arg = true, .val = 'g'}, {.name = "pid-owner", .has_arg = true, .val = 'p'}, {.name = "sid-owner", .has_arg = true, .val = 's'}, - { .name = NULL } + XT_GETOPT_TABLEEND, }; static const struct option owner_mt_opts[] = { {.name = "uid-owner", .has_arg = true, .val = 'u'}, {.name = "gid-owner", .has_arg = true, .val = 'g'}, {.name = "socket-exists", .has_arg = false, .val = 'k'}, - { .name = NULL } + XT_GETOPT_TABLEEND, }; static int |