Skip to content

Commit

Permalink
add address family logs to IRR error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
natesales committed Jul 5, 2021
1 parent 626a572 commit 16504cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions irr.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{}
Expand All @@ -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{}
Expand Down

0 comments on commit 16504cc

Please sign in to comment.