mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 07:48:07 +00:00
zebra: remove bs irdp error code
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
parent
db9f2ddde2
commit
f203510a7a
@ -136,10 +136,10 @@ static void parse_irdp_packet(char *p, int len, struct interface *ifp)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
if (icmp->code != 0) {
|
if (icmp->code != 0) {
|
||||||
flog_warn(EC_ZEBRA_IRDP_BAD_TYPE_CODE,
|
flog_warn(
|
||||||
"IRDP: RX packet type %d from %s. Bad ICMP type code,"
|
EC_ZEBRA_IRDP_BAD_TYPE_CODE,
|
||||||
" silently ignored",
|
"IRDP: RX packet type %d from %s. Bad ICMP type code, silently ignored",
|
||||||
icmp->type, inet_ntoa(src));
|
icmp->type, inet_ntoa(src));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -174,8 +174,8 @@ static void parse_irdp_packet(char *p, int len, struct interface *ifp)
|
|||||||
|
|
||||||
default:
|
default:
|
||||||
flog_warn(
|
flog_warn(
|
||||||
EC_ZEBRA_IRDP_BAD_TYPE,
|
EC_ZEBRA_IRDP_BAD_TYPE_CODE,
|
||||||
"IRDP: RX type %d from %s. Bad ICMP type, silently ignored",
|
"IRDP: RX packet type %d from %s. Bad ICMP type code, silently ignored",
|
||||||
icmp->type, inet_ntoa(src));
|
icmp->type, inet_ntoa(src));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -380,14 +380,6 @@ static struct log_ref ferr_zebra_err[] = {
|
|||||||
.suggestion =
|
.suggestion =
|
||||||
"If you wish to receive the messages, change your IRDP settings accordingly.",
|
"If you wish to receive the messages, change your IRDP settings accordingly.",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
.code = EC_ZEBRA_IRDP_BAD_TYPE,
|
|
||||||
.title =
|
|
||||||
"Zebra received IRDP packet with bad type",
|
|
||||||
.description =
|
|
||||||
"THIS IS BULLSHIT REMOVE ME",
|
|
||||||
.suggestion = "asdf",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
.code = EC_ZEBRA_RNH_NO_TABLE,
|
.code = EC_ZEBRA_RNH_NO_TABLE,
|
||||||
.title =
|
.title =
|
||||||
|
@ -85,7 +85,6 @@ enum zebra_log_refs {
|
|||||||
EC_ZEBRA_IRDP_BAD_CHECKSUM,
|
EC_ZEBRA_IRDP_BAD_CHECKSUM,
|
||||||
EC_ZEBRA_IRDP_BAD_TYPE_CODE,
|
EC_ZEBRA_IRDP_BAD_TYPE_CODE,
|
||||||
EC_ZEBRA_IRDP_BAD_RX_FLAGS,
|
EC_ZEBRA_IRDP_BAD_RX_FLAGS,
|
||||||
EC_ZEBRA_IRDP_BAD_TYPE,
|
|
||||||
EC_ZEBRA_RNH_NO_TABLE,
|
EC_ZEBRA_RNH_NO_TABLE,
|
||||||
EC_ZEBRA_IFLIST_FAILED,
|
EC_ZEBRA_IFLIST_FAILED,
|
||||||
EC_ZEBRA_FPM_FORMAT_UNKNOWN,
|
EC_ZEBRA_FPM_FORMAT_UNKNOWN,
|
||||||
|
Loading…
Reference in New Issue
Block a user