summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-04-02 22:58:29 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-04-02 22:58:29 +0900
commitb37cda689758e10aa7857c03cae2936f92078abc (patch)
tree4e48b6602782a1998e15c6fb034887d3e0169ded
parentce4b18e4414a153b91700d83f3580714cac839e7 (diff)
server: go fmt fix
somehow the bad code was merged. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--server/peer.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/server/peer.go b/server/peer.go
index 8ff38191..0599d237 100644
--- a/server/peer.go
+++ b/server/peer.go
@@ -446,11 +446,11 @@ func (peer *Peer) applyPolicies(policies []*policy.Policy, original table.Path)
if result, action, newpath := pol.Apply(original); result {
log.Debug("newpath: ", newpath)
if action == policy.ROUTE_TYPE_REJECT {
- log.WithFields(log.Fields{
- "Topic": "Peer",
- "Key": peer.peerConfig.NeighborAddress,
- "NRLI": original.GetNlri(),
- }).Debug("path was rejected")
+ log.WithFields(log.Fields{
+ "Topic": "Peer",
+ "Key": peer.peerConfig.NeighborAddress,
+ "NRLI": original.GetNlri(),
+ }).Debug("path was rejected")
// return applied, nil, this means path was rejected
return applied, nil
} else {