Commit 941c14ca authored by nextime's avatar nextime

fix invalid src name with end spaces

parent a60c9752
...@@ -180,7 +180,7 @@ class DomIkaBaseProtocol(object): ...@@ -180,7 +180,7 @@ class DomIkaBaseProtocol(object):
dstend=offset+self.ikahdr.dstlen dstend=offset+self.ikahdr.dstlen
src="" src=""
if(self.ikahdr.srclen>0): if(self.ikahdr.srclen>0):
src=self.aesdata.cleandata[:self.ikahdr.srclen] src=self.aesdata.cleandata[:self.ikahdr.srclen].rstrip()
dst="" dst=""
if(self.ikahdr.dstlen>0): if(self.ikahdr.dstlen>0):
dst=self.aesdata.cleandata[offset:dstend] 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