From a87a1243161aa3ca84e9058bf9df19245fb2eda3 Mon Sep 17 00:00:00 2001 From: skyformat99 <10938976+skyformat99@users.noreply.github.com> Date: Fri, 17 Sep 2021 21:22:26 +0800 Subject: [PATCH] Update supernode.c (#800) fix #799 --- src/supernode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/supernode.c b/src/supernode.c index f7450b2..4786d05 100644 --- a/src/supernode.c +++ b/src/supernode.c @@ -294,9 +294,9 @@ static int setOption (int optkey, char *_optarg, n2n_sn_t *sss) { sss->override_spoofing_protection = 1; break; - case 'V': /* community file */ + case 'V': /* version text */ strncpy(sss->version, _optarg, sizeof(n2n_version_t) - 1); /* mind the \0 terminator */ - + break; case 'c': /* community file */ sss->community_file = calloc(1, strlen(_optarg) + 1); if(sss->community_file)