diff options
Diffstat (limited to 'src/expect/getter.c')
-rw-r--r-- | src/expect/getter.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/expect/getter.c b/src/expect/getter.c index 9cb6ede..69453c5 100644 --- a/src/expect/getter.c +++ b/src/expect/getter.c @@ -37,6 +37,11 @@ static const void *get_exp_attr_flags(const struct nf_expect *exp) return &exp->flags; } +static const void *get_exp_attr_helper_name(const struct nf_expect *exp) +{ + return exp->helper_name; +} + const get_exp_attr get_exp_attr_array[ATTR_EXP_MAX] = { [ATTR_EXP_MASTER] = get_exp_attr_master, [ATTR_EXP_EXPECTED] = get_exp_attr_expected, @@ -44,4 +49,5 @@ const get_exp_attr get_exp_attr_array[ATTR_EXP_MAX] = { [ATTR_EXP_TIMEOUT] = get_exp_attr_timeout, [ATTR_EXP_ZONE] = get_exp_attr_zone, [ATTR_EXP_FLAGS] = get_exp_attr_flags, + [ATTR_EXP_HELPER_NAME] = get_exp_attr_helper_name, }; |