]> git.proxmox.com Git - mirror_frr.git/blame - nhrpd/nhrp_errors.c
*: auto-convert to SPDX License IDs
[mirror_frr.git] / nhrpd / nhrp_errors.c
CommitLineData
acddc0ed 1// SPDX-License-Identifier: GPL-2.0-or-later
aed07011 2/*
247dcce2 3 * NHRP-specific error messages.
aed07011
DS
4 * Copyright (C) 2018 Cumulus Networks, Inc.
5 * Donald Sharp
aed07011 6 */
247dcce2 7
aed07011
DS
8#include <zebra.h>
9
247dcce2 10#include "lib/ferr.h"
aed07011
DS
11#include "nhrp_errors.h"
12
247dcce2 13/* clang-format off */
85cd2f9f 14static struct log_ref ferr_nhrp_err[] = {
aed07011 15 {
2b84a521 16 .code = EC_NHRP_SWAN,
aed07011
DS
17 .title = "NHRP Strong Swan Error",
18 .description = "NHRP has detected a error with the Strongswan code",
19 .suggestion = "Ensure that StrongSwan is configured correctly. Restart StrongSwan and FRR"
20 },
aed07011
DS
21 {
22 .code = END_FERR,
23 }
24};
247dcce2 25/* clang-format on */
aed07011
DS
26
27void nhrp_error_init(void)
28{
85cd2f9f 29 log_ref_add(ferr_nhrp_err);
aed07011 30}