summaryrefslogtreecommitdiffhomepage
path: root/server/peer.go
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-08-05 16:48:33 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-08-08 20:56:46 +0900
commitbd912231e5509829bdb6b892344d4b14ca0b3b29 (patch)
tree89a4c8a5791644f659f3880d6fee20fda584a3a3 /server/peer.go
parentb895b7678fc796e68a27964a75b1ee2ffea5d256 (diff)
server: fix typo
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'server/peer.go')
-rw-r--r--server/peer.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/peer.go b/server/peer.go
index 4bda6c9d..86479c99 100644
--- a/server/peer.go
+++ b/server/peer.go
@@ -452,7 +452,7 @@ func applyPolicy(component, owner string, d Direction, policies []*policy.Policy
log.WithFields(log.Fields{
"Topic": component,
"Key": owner,
- "NRLI": original.GetNlri(),
+ "NLRI": original.GetNlri(),
"Dir": d,
}).Debug("path was rejected")
// return applied, nil, this means path was rejected
@@ -468,7 +468,7 @@ func applyPolicy(component, owner string, d Direction, policies []*policy.Policy
"Topic": component,
"Key": owner,
"Len": len(policies),
- "NRLI": original,
+ "NLRI": original,
"Dir": d,
}).Debug("no policy applied")
return !applied, original