summaryrefslogtreecommitdiffhomepage
path: root/packet
diff options
context:
space:
mode:
authorEiichiro Watanabe <a16tochjp@gmail.com>2015-12-09 00:58:21 +0900
committerEiichiro Watanabe <a16tochjp@gmail.com>2015-12-09 12:30:49 +0900
commit1ebbcee68b4850dfa46548cfa7facb0fb761a0e3 (patch)
treeeea1d31276458bf7231c4e7a80c49eedc84fd0c8 /packet
parent35668904fb0a1716c874ea843b2520663a742e98 (diff)
packet: remove verbose method
Diffstat (limited to 'packet')
-rw-r--r--packet/rtr.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/packet/rtr.go b/packet/rtr.go
index 1b0282fa..3650eb30 100644
--- a/packet/rtr.go
+++ b/packet/rtr.go
@@ -143,14 +143,6 @@ type RTRResetQuery struct {
RTRReset
}
-func (m *RTRResetQuery) Serialize() ([]byte, error) {
- data := make([]byte, m.Len)
- data[0] = m.Version
- data[1] = m.Type
- binary.BigEndian.PutUint32(data[4:8], m.Len)
- return data, nil
-}
-
func NewRTRResetQuery() *RTRResetQuery {
return &RTRResetQuery{
RTRReset{