summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/proto.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto.c b/src/proto.c
index 0a37a658..e5f49cb2 100644
--- a/src/proto.c
+++ b/src/proto.c
@@ -754,6 +754,7 @@ static struct error_record *ethertype_parse(const struct expr *sym,
{
struct error_record *erec;
+ *res = NULL;
erec = sym->dtype->basetype->parse(sym, res);
if (erec != NULL)
return erec;