代码拉取完成,页面将自动刷新
From 4030929bb6f3ee6f465c76869d7a49424df45d9e Mon Sep 17 00:00:00 2001
From: Mike Frysinger <vapier@gentoo.org>
Date: Sun, 12 Dec 2021 12:05:42 -0500
Subject: [PATCH] interface: change pointopoint short flag from P to p
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
---
lib/interface.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/interface.c b/lib/interface.c
index 4c33325..ef28dec 100644
--- a/lib/interface.c
+++ b/lib/interface.c
@@ -693,7 +693,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)
--
2.27.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。