From f30f46c4868b1459272cefbf9d6742aa3eae05c1 Mon Sep 17 00:00:00 2001 From: Phil <phil@secdev.org> Date: Tue, 17 Mar 2009 08:50:38 -0700 Subject: [PATCH] Align ARPingResult.show() output if MAC address OUI is displayed --- scapy/layers/l2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scapy/layers/l2.py b/scapy/layers/l2.py index a923b0e7..e1ae21a8 100644 --- a/scapy/layers/l2.py +++ b/scapy/layers/l2.py @@ -432,7 +432,7 @@ class ARPingResult(SndRcvList): def show(self): for s,r in self.res: - print r.sprintf("%Ether.src% %ARP.psrc%") + print r.sprintf("%19s,Ether.src% %ARP.psrc%") -- GitLab