summaryrefslogtreecommitdiffhomepage
path: root/table/message.go
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-07-02 17:28:15 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-07-03 06:29:07 +0900
commitb7b1e18eec86ade7694a3e2ffa2d1c4e00b80006 (patch)
tree38e741497e3e5500977c5e4a35b5469be8aa33ab /table/message.go
parent6d9f671f493e03ddad3f8abd03351f35dc0381ab (diff)
server: update path attrs when sending update msg out
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'table/message.go')
-rw-r--r--table/message.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/table/message.go b/table/message.go
index 7ae01152..d8bb3cff 100644
--- a/table/message.go
+++ b/table/message.go
@@ -17,7 +17,6 @@ package table
import (
"bytes"
- "github.com/osrg/gobgp/config"
"github.com/osrg/gobgp/packet"
)
@@ -128,10 +127,6 @@ func cloneAttrSlice(attrs []bgp.PathAttributeInterface) []bgp.PathAttributeInter
return clonedAttrs
}
-func UpdatePathAttrs(path *Path, global *config.Global, peer *config.Neighbor) {
- path.updatePathAttrs(global, peer)
-}
-
func createUpdateMsgFromPath(path *Path, msg *bgp.BGPMessage) *bgp.BGPMessage {
rf := path.GetRouteFamily()