From 372b887859b7e5739137b02a1cecf2ea702ba586 Mon Sep 17 00:00:00 2001 From: Philippe Guibert Date: Thu, 11 Mar 2021 13:59:57 +0100 Subject: [PATCH] nhrpd: clean up SA warning with strncpy strncpy is replaced by strlcpy. Signed-off-by: Philippe Guibert --- nhrpd/linux.c | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) 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" -- 2.39.5