From: Philippe Guibert Date: Thu, 11 Mar 2021 12:59:57 +0000 (+0100) Subject: nhrpd: clean up SA warning with strncpy X-Git-Tag: base_8.0~47^2~4 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=372b887859b7e5739137b02a1cecf2ea702ba586;p=matthieu%2Ffrr.git nhrpd: clean up SA warning with strncpy strncpy is replaced by strlcpy. Signed-off-by: Philippe Guibert --- diff --git a/nhrpd/linux.c b/nhrpd/linux.c index b55e656562..4986bfb99c 100644 --- a/nhrpd/linux.c +++ b/nhrpd/linux.c @@ -7,23 +7,9 @@ * (at your option) any later version. */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -#include -#include -#include -#include #include -#include -#include -#include -#include -#include +#include "zebra.h" #include -#include -#include #include "nhrp_protocol.h" #include "os.h"