summaryrefslogtreecommitdiffstats
path: root/ospfd
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2022-11-29 16:11:32 +0100
committerGitHub <noreply@github.com>2022-11-29 16:11:32 +0100
commit1407cbaea6508b5a97f36de6a11a178345b4cac1 (patch)
treed8953392b5dda15c054794d6dbe85fb17eb4875e /ospfd
parentMerge pull request #12384 from opensourcerouting/feature/snmp_bgp4V2PeerError... (diff)
parentospfd: increase API maximum message size (diff)
downloadfrr-1407cbaea6508b5a97f36de6a11a178345b4cac1.tar.xz
frr-1407cbaea6508b5a97f36de6a11a178345b4cac1.zip
Merge pull request #12334 from ylopez/patch-1
Increase maximum packet size in ospf API
Diffstat (limited to 'ospfd')
-rw-r--r--ospfd/ospf_api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_api.h b/ospfd/ospf_api.h
index 6f569e962..fd741c3c4 100644
--- a/ospfd/ospf_api.h
+++ b/ospfd/ospf_api.h
@@ -298,7 +298,7 @@ struct apimsg {
} u;
};
-#define OSPF_API_MAX_MSG_SIZE (sizeof(struct apimsg) + OSPF_MAX_LSA_SIZE)
+#define OSPF_API_MAX_MSG_SIZE (sizeof(struct apimsg) + OSPF_MAX_PACKET_SIZE)
/* -----------------------------------------------------------
* Prototypes for specific messages