def add(self, ts, pkt):
        '''
        pkt = dpkt.udp.UDP
        '''
        #check for DNS
        if pkt.sport == 53 or pkt.dport == 53:
            try:
                dnspkt = dpkt.dns.DNS(pkt.data)
                self.dns.add(dns.Packet(ts, dnspkt))
            except dpkt.Error:
                logging.warning('UDP packet on port 53 was not DNS')
        else:
            logging.warning((pkt.sport, pkt.dport) % 'unkown UDP ports: %d->%d')
dataset/ETHPy150Open andrewf/pcap2har/pcap2har/udp.py/Processor.add/swapped operands of `%`