diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2016-01-16 16:33:53 +0900 |
---|---|---|
committer | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2016-01-16 18:25:18 +0900 |
commit | 0cf8045e994b653030b721c574614d46c1870cf1 (patch) | |
tree | e409864aafea90c4aa4b990fb88a4917afd2596f /server/fsm.go | |
parent | 40ce51137a1bc3733d36ea045daae067eef735f0 (diff) |
policy: introduce policy option infra
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'server/fsm.go')
-rw-r--r-- | server/fsm.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/fsm.go b/server/fsm.go index 25aefaa2..89366d72 100644 --- a/server/fsm.go +++ b/server/fsm.go @@ -525,7 +525,7 @@ func (h *FSMHandler) recvMessageWithError() error { id := h.fsm.pConf.Config.NeighborAddress policyMutex.RLock() for _, path := range fmsg.PathList { - if h.fsm.policy.ApplyPolicy(id, table.POLICY_DIRECTION_IN, path) == nil { + if h.fsm.policy.ApplyPolicy(id, table.POLICY_DIRECTION_IN, path, nil) == nil { path.Filter(id, table.POLICY_DIRECTION_IN) } } |