code: def todict(self):
          '''
          Returns a pretty dictionary meant for command line output.
          '''
          return {
              'Source port': self.srcport,
              'Destination port': self.destport,
              'Protocol': self.protocol,
              'Destination address': self.destaddrf todict(self):
          '''
          Returns a pretty dictionary meant for command line output.
          '''
          return {
              'Source port': self.srcport,
              'Destination port': self.destport,
              'Protocol': self.protocol,
              'Destination address': self.destaddr}
docs: Returns a pretty dictionary meant for command line output.