summaryrefslogtreecommitdiffhomepage
path: root/server/bmp.go
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2016-06-07 02:06:00 +0000
committerISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2016-06-10 01:47:10 +0000
commitd218ff032a590a7bbb493b97996e9d02fd5c2d57 (patch)
tree622b40af1ac45368db1207126ae50a8d0cc22378 /server/bmp.go
parent50bf0d34d31c8f745e58b0f172c86fb617b92bf8 (diff)
server: remove restart() from watcher interface
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'server/bmp.go')
-rw-r--r--server/bmp.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/server/bmp.go b/server/bmp.go
index 33e0b745..4542ef2d 100644
--- a/server/bmp.go
+++ b/server/bmp.go
@@ -227,10 +227,6 @@ func (w *bmpWatcher) loop() error {
}
}
-func (w *bmpWatcher) restart(string) error {
- return nil
-}
-
func bmpPeerUp(laddr string, lport, rport uint16, sent, recv *bgp.BGPMessage, t uint8, policy bool, pd uint64, peeri *table.PeerInfo, timestamp int64) *bmp.BMPMessage {
ph := bmp.NewBMPPeerHeader(t, policy, pd, peeri.Address.String(), peeri.AS, peeri.ID.String(), float64(timestamp))
return bmp.NewBMPPeerUpNotification(*ph, laddr, lport, rport, sent, recv)