summaryrefslogtreecommitdiffstats
path: root/nhrpd
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2024-03-21 15:46:58 +0100
committerDonatas Abraitis <donatas@opensourcerouting.org>2024-03-21 15:46:58 +0100
commit874242f129f1fc6cff48ffa581326735f1da66e1 (patch)
tree7bc4267ef91acd6cd38618a6602126c51306e8df /nhrpd
parenteigrpd: Drop unused files (diff)
downloadfrr-874242f129f1fc6cff48ffa581326735f1da66e1.tar.xz
frr-874242f129f1fc6cff48ffa581326735f1da66e1.zip
*: Add missing SPDX-License-Identifier for some .c/.h files
Adding them as others: GPL-2.0-or-later Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'nhrpd')
-rw-r--r--nhrpd/debug.h2
-rw-r--r--nhrpd/os.h1
-rw-r--r--nhrpd/reqid.c2
-rw-r--r--nhrpd/vici.h1
4 files changed, 6 insertions, 0 deletions
diff --git a/nhrpd/debug.h b/nhrpd/debug.h
index f2c7022ad..d5c00ada8 100644
--- a/nhrpd/debug.h
+++ b/nhrpd/debug.h
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+
#include "log.h"
#define NHRP_DEBUG_COMMON (1 << 0)
diff --git a/nhrpd/os.h b/nhrpd/os.h
index 2b9e07fa6..3f3b0de91 100644
--- a/nhrpd/os.h
+++ b/nhrpd/os.h
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
int os_socket(void);
int os_sendmsg(const uint8_t *buf, size_t len, int ifindex, const uint8_t *addr,
diff --git a/nhrpd/reqid.c b/nhrpd/reqid.c
index 738e935ec..c2f5d24b6 100644
--- a/nhrpd/reqid.c
+++ b/nhrpd/reqid.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+
#include "zebra.h"
#include "hash.h"
#include "nhrpd.h"
diff --git a/nhrpd/vici.h b/nhrpd/vici.h
index f2ad3a9fe..8a8011f51 100644
--- a/nhrpd/vici.h
+++ b/nhrpd/vici.h
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
enum vici_type_t {
VICI_START = 0,