summaryrefslogtreecommitdiff
path: root/proto/bgp/attrs.c
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-05-30 15:39:32 +0200
committerMaria Matejka <mq@ucw.cz>2022-05-30 15:39:32 +0200
commit3752654852f4962465154257348000d6de1c2dae (patch)
tree7fcafdf3cb47131408e85f674577ad2a10fef18d /proto/bgp/attrs.c
parent032201378faa52e2d7a15ea265426e133d9becca (diff)
parent80272d4b64a38ee6f04a1c4e8566cac3a2293176 (diff)
Merge commit '80272d4b64a38ee6f04a1c4e8566cac3a2293176' into haugesund
Diffstat (limited to 'proto/bgp/attrs.c')
-rw-r--r--proto/bgp/attrs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/bgp/attrs.c b/proto/bgp/attrs.c
index 25f115af..4cc089e9 100644
--- a/proto/bgp/attrs.c
+++ b/proto/bgp/attrs.c
@@ -987,7 +987,7 @@ bgp_decode_unknown(struct bgp_parse_state *s, uint code, uint flags, byte *data,
static const struct bgp_attr_desc bgp_attr_table[] = {
[BA_ORIGIN] = {
.name = "origin",
- .type = EAF_TYPE_INT,
+ .type = EAF_TYPE_BGP_ORIGIN,
.flags = BAF_TRANSITIVE,
.export = bgp_export_origin,
.encode = bgp_encode_u8,