Skip to content

Commit

Permalink
Fixed priting bug (Windows) (#344)
Browse files Browse the repository at this point in the history
Fixed priting tiny bug
  • Loading branch information
gpotter2 authored and p-l- committed Nov 11, 2016
1 parent c4e038a commit 32d7179
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scapy/route.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"""

import socket
from scapy.arch.consts import LOOPBACK_NAME
from scapy.arch.consts import LOOPBACK_NAME, WINDOWS
from scapy.utils import atol,ltoa,itom
from scapy.config import conf
from scapy.error import Scapy_Exception,warning
Expand Down Expand Up @@ -36,7 +36,7 @@ def __repr__(self):
rt += "%-15s %-15s %-15s %-15s %-15s\n" % (ltoa(net),
ltoa(msk),
gw,
iface,
(iface.name if WINDOWS else iface),
addr)
return rt

Expand Down

0 comments on commit 32d7179

Please sign in to comment.