summaryrefslogtreecommitdiff
path: root/lib/ofp-parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ofp-parse.c')
-rw-r--r--lib/ofp-parse.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ofp-parse.c b/lib/ofp-parse.c
index 553991c77..a26e8ff8c 100644
--- a/lib/ofp-parse.c
+++ b/lib/ofp-parse.c
@@ -181,6 +181,10 @@ str_to_connhelper(const char *str, uint16_t *alg)
*alg = IPPORT_FTP;
return NULL;
}
+ if (!strcmp(str, "tftp")) {
+ *alg = IPPORT_TFTP;
+ return NULL;
+ }
return xasprintf("invalid conntrack helper \"%s\"", str);
}