diff options
author | Alex Harpin <development@landsofshadow.co.uk> | 2015-11-21 14:44:29 +0000 |
---|---|---|
committer | Alex Harpin <development@landsofshadow.co.uk> | 2015-11-21 14:44:29 +0000 |
commit | 2a53b5dfee3c80b4c4940ad4c73c82248b4571bb (patch) | |
tree | 73a4fe81edc619a6180ee8d1a02ef5b1942ba910 /src/build.c | |
parent | 1e0476f8157fc09c6f9ff086e7b55452b39ea48d (diff) | |
parent | e61ac9a2e58cdcf6dc9a12d32b1f221e078e5d05 (diff) | |
download | conntrack-tools-2a53b5dfee3c80b4c4940ad4c73c82248b4571bb.tar.gz conntrack-tools-2a53b5dfee3c80b4c4940ad4c73c82248b4571bb.zip |
Merge tag 'conntrack-tools-1.4.0' into lithium
conntrack-tools 1.4.0 release
Diffstat (limited to 'src/build.c')
-rw-r--r-- | src/build.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/build.c b/src/build.c index f01e7c8..330f057 100644 --- a/src/build.c +++ b/src/build.c @@ -360,7 +360,8 @@ void exp2msg(const struct nf_expect *exp, struct nethdr *n) exp_build_u32(exp, ATTR_EXP_NAT_DIR, n, NTA_EXP_NAT_DIR); } - exp_build_str(exp, ATTR_EXP_HELPER_NAME, n, NTA_EXP_HELPER_NAME); + if (nfexp_attr_is_set(exp, ATTR_EXP_HELPER_NAME)) + exp_build_str(exp, ATTR_EXP_HELPER_NAME, n, NTA_EXP_HELPER_NAME); if (nfexp_attr_is_set(exp, ATTR_EXP_FN)) exp_build_str(exp, ATTR_EXP_FN, n, NTA_EXP_FN); } |