From 635de7a92d895dc44c09b848de5108f968971e88 Mon Sep 17 00:00:00 2001 From: liuyong Date: Sat, 12 Sep 2020 21:06:20 +0800 Subject: [PATCH] fixed #89 --- netconf/session.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/netconf/session.go b/netconf/session.go index 7f40b81..7e877a1 100644 --- a/netconf/session.go +++ b/netconf/session.go @@ -36,9 +36,6 @@ func (s *Session) Exec(methods ...RPCMethod) (*RPCReply, error) { return nil, err } - header := []byte(xml.Header) - request = append(header, request...) - err = s.Transport.Send(request) if err != nil { return nil, err