summaryrefslogtreecommitdiffstats
path: root/src/plugins/snat/snat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/snat/snat.c')
-rw-r--r--src/plugins/snat/snat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/snat/snat.c b/src/plugins/snat/snat.c
index f196b5c24a3..315cec8a65b 100644
--- a/src/plugins/snat/snat.c
+++ b/src/plugins/snat/snat.c
@@ -1398,6 +1398,7 @@ format_snat_protocol (u8 * s, va_list * args)
#undef _
default:
s = format (s, "unknown");
+ return s;
}
s = format (s, "%s", t);
return s;