Commit 941c14ca authored by nextime's avatar nextime

fix invalid src name with end spaces

parent a60c9752
......@@ -180,7 +180,7 @@ class DomIkaBaseProtocol(object):
dstend=offset+self.ikahdr.dstlen
src=""
if(self.ikahdr.srclen>0):
src=self.aesdata.cleandata[:self.ikahdr.srclen]
src=self.aesdata.cleandata[:self.ikahdr.srclen].rstrip()
dst=""
if(self.ikahdr.dstlen>0):
dst=self.aesdata.cleandata[offset:dstend]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment