From 25e15f13d268fefa878daec0933779f0a6f21dd2 Mon Sep 17 00:00:00 2001 From: Hans Duedal Date: Sat, 5 Sep 2020 21:14:16 +0200 Subject: [PATCH] Remove non-spec fields to fix DeliverSM PDU https://github.com/fiorix/go-smpp/issues/73 --- smpp/pdu/types.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/smpp/pdu/types.go b/smpp/pdu/types.go index d2b0bcc..c003f0b 100644 --- a/smpp/pdu/types.go +++ b/smpp/pdu/types.go @@ -308,8 +308,6 @@ func newDeliverSM(hdr *Header) *codec { pdufield.DataCoding, pdufield.SMDefaultMsgID, pdufield.SMLength, - pdufield.UDHLength, - pdufield.GSMUserData, pdufield.ShortMessage, }, }