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