MCPcopy Create free account
hub / github.com/SNAS/openbmp / ExtCommunity

Method ExtCommunity

Server/src/bgp/ExtCommunity.cpp:29–33  ·  view source on GitHub ↗

* Constructor for class * * \details Handles bgp Extended Communities * * \param [in] logPtr Pointer to existing Logger for app logging * \param [in] pperAddr Printed form of peer address used for logging * \param [in] enable_debug Debug true to enable, false to disable */

Source from the content-addressed store, hash-verified

27 * \param [in] enable_debug Debug true to enable, false to disable
28 */
29 ExtCommunity::ExtCommunity(Logger *logPtr, std::string peerAddr, bool enable_debug) {
30 logger = logPtr;
31 debug = enable_debug;
32 peer_addr = peerAddr;
33 }
34
35 ExtCommunity::~ExtCommunity() {
36

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected