Skip to content

Commit ab03b91

Browse files
Merge pull request #31 from frenzymadness/pifconfig_output_fix
Remove truncating from device name printing.
2 parents 9b9ae43 + b68d7f3 commit ab03b91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/pifconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def show_config(device):
6363
ipaddr = ethtool.get_ipaddr(device)
6464
netmask = ethtool.get_netmask(device)
6565
flags = ethtool.get_flags(device)
66-
print('%-9.9s' % device)
66+
print('%s' % device)
6767
if not (flags & ethtool.IFF_LOOPBACK):
6868
print('\tHWaddr %s' % ethtool.get_hwaddr(device))
6969
print('\tinet addr:%s' % ipaddr)

0 commit comments

Comments
 (0)