summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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{