summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-12-12 20:05:42 +0300
committerMike Frysinger <vapier@gentoo.org>2021-12-12 20:05:42 +0300
commit4030929bb6f3ee6f465c76869d7a49424df45d9e (patch)
tree5de8231b77ac36a8a6ebd39518c2ade3c6adc251
parenteb26535f42887bc2f9535d8b3f5c1d7174bd16aa (diff)
downloadnet-tools-master.tar.xz
interface: change pointopoint short flag from P to pHEADmaster
The P short flag was used by IFF_POINTOPOINT and IFF_PROMISC. Change IFF_POINTOPOINT to use p to avoid confusion, and because IFF_PROMISC is probably more common for people to check. URL: https://sourceforge.net/p/net-tools/bugs/45
-rw-r--r--lib/interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/interface.c b/lib/interface.c
index 4c33325..ef28dec 100644
--- a/lib/interface.c
+++ b/lib/interface.c
@@ -631,7 +631,7 @@ void ife_print_short(struct interface *ptr)
if (ptr->flags & IFF_NOARP)
printf("O");
if (ptr->flags & IFF_POINTOPOINT)
- printf("P");
+ printf("p");
if (ptr->flags & IFF_SLAVE)
printf("s");
if (ptr->flags & IFF_MASTER)