From 16504cc24134c69601034c8cc710d55a41948d26 Mon Sep 17 00:00:00 2001 From: Nate Sales Date: Sun, 4 Jul 2021 18:24:57 -0700 Subject: [PATCH] add address family logs to IRR error messages --- irr.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/irr.go b/irr.go index 810e4c89..47911fde 100644 --- a/irr.go +++ b/irr.go @@ -46,7 +46,7 @@ func buildIRRPrefixSet(peerData *peer, irrServer string) error { prefixesFromIRR4, err := getIRRPrefixSet(*peerData.ASSet, 4, irrServer) if err != nil { - return fmt.Errorf("unable to get IRR prefix list from %s", *peerData.ASSet) + return fmt.Errorf("unable to get IPv4 IRR prefix list from %s", *peerData.ASSet) } if peerData.PrefixSet4 == nil { peerData.PrefixSet4 = &[]string{} @@ -59,7 +59,7 @@ func buildIRRPrefixSet(peerData *peer, irrServer string) error { prefixesFromIRR6, err := getIRRPrefixSet(*peerData.ASSet, 6, irrServer) if err != nil { - return fmt.Errorf("unable to get IRR prefix list from %s", *peerData.ASSet) + return fmt.Errorf("unable to get IPv6 IRR prefix list from %s", *peerData.ASSet) } if peerData.PrefixSet6 == nil { peerData.PrefixSet6 = &[]string{}