summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--packet/bgp.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet/bgp.go b/packet/bgp.go
index e8ebe3e0..15888439 100644
--- a/packet/bgp.go
+++ b/packet/bgp.go
@@ -1690,9 +1690,9 @@ func GetRouteFamily(name string) (RouteFamily, error) {
func routeFamilyPrefix(afi uint16, safi uint8) (prefix AddrPrefixInterface, err error) {
switch AfiSafiToRouteFamily(afi, safi) {
- case RF_IPv4_UC:
+ case RF_IPv4_UC, RF_IPv4_MC:
prefix = NewIPAddrPrefix(0, "")
- case RF_IPv6_UC:
+ case RF_IPv6_UC, RF_IPv6_MC:
prefix = NewIPv6AddrPrefix(0, "")
case RF_IPv4_VPN:
prefix = NewLabelledVPNIPAddrPrefix(0, "", *NewLabel(), nil)