diff --git a/scapy/fields.py b/scapy/fields.py index 86ccf7816..0843adc42 100644 --- a/scapy/fields.py +++ b/scapy/fields.py @@ -1053,7 +1053,7 @@ class FlagValue(object): r.append(self.names[i]) i += 1 x >>= 1 - return ("+" if self.multi else "").join(r) if r else int(self) + return ("+" if self.multi else "").join(r) def __repr__(self): return "" % (self, self.flagrepr()) def __deepcopy__(self, memo):