]> git.ipfire.org Git - thirdparty/FORT-validator.git/commitdiff
Replace 'Valid ROAs' by 'Valid Prefixes'; update headers at common.h
authorpcarana <pc.moreno2099@gmail.com>
Tue, 17 Dec 2019 01:20:35 +0000 (19:20 -0600)
committerpcarana <pc.moreno2099@gmail.com>
Tue, 17 Dec 2019 01:20:35 +0000 (19:20 -0600)
src/common.c
src/common.h
src/rtr/db/vrps.c

index 6268d085359d744c8ff4d90d14924572eff847b6..a0bf2f0f20945ac462365d01a0a09e450d61c7c2 100644 (file)
@@ -5,6 +5,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
+#include <arpa/inet.h>
 #include <sys/types.h> /* AF_INET, AF_INET6 (needed in OpenBSD) */
 #include <sys/socket.h> /* AF_INET, AF_INET6 (needed in OpenBSD) */
 #include <sys/stat.h>
index ce64fcddf4fe245f3608e05f1069eb349cdfc276..95a9bb19bca7ad66b3952c5312bd64288f474f26 100644 (file)
@@ -3,7 +3,7 @@
 
 #include <pthread.h>
 #include <semaphore.h>
-#include <arpa/inet.h>
+#include <netinet/in.h>
 
 /* "I think that this is not supposed to be implemented." */
 #define ENOTSUPPORTED 3172
index 8350d9d32b0bf531d4b060618dc5abb3108da3df..a2025c50a51a4b14bfdf716717eafa9297f6cd51 100644 (file)
@@ -401,7 +401,7 @@ vrps_update(bool *changed)
        do {
                if (state.base == NULL) {
                        rwlock_unlock(&state_lock);
-                       pr_info("- Valid ROAs: 0");
+                       pr_info("- Valid Prefixes: 0");
                        pr_info("- Valid Router Keys: 0");
                        if (config_get_mode() == SERVER)
                                pr_info("- No serial number.");