Skip to content

Commit

Permalink
add policy info log
Browse files Browse the repository at this point in the history
  • Loading branch information
natesales committed Oct 21, 2020
1 parent 57803f4 commit 016d153
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,8 @@ func main() {
log.Fatalf("Neighbor address of peer %s (addr: %s) is not a valid IPv4 or IPv6 address", peerName, addr)
}
}

log.Infof("Policy for AS%d: import %s, export %s", peerData.Asn, peerData.ImportPolicy, peerData.ExportPolicy)
}

log.Infof("Modified config: %+v", config)
Expand Down

0 comments on commit 016d153

Please sign in to comment.