* [PATCH] rtnetlink.7: ifa_index is an unsigned int
@ 2019-12-29 18:25 Antonin Décimo
2019-12-30 18:47 ` Michael Kerrisk (man-pages)
0 siblings, 1 reply; 2+ messages in thread
From: Antonin Décimo @ 2019-12-29 18:25 UTC (permalink / raw)
To: mtk.manpages; +Cc: linux-man
See include/linux/if_addr.h.
struct ifaddrmsg {
__u8 ifa_family;
__u8 ifa_prefixlen; /* The prefix length */
__u8 ifa_flags; /* Flags */
__u8 ifa_scope; /* Address scope */
__u32 ifa_index; /* Link index */
};
---
man7/rtnetlink.7 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/man7/rtnetlink.7 b/man7/rtnetlink.7
index 0be59a7..6260545 100644
--- a/man7/rtnetlink.7
+++ b/man7/rtnetlink.7
@@ -134,7 +134,7 @@ struct ifaddrmsg {
unsigned char ifa_prefixlen; /* Prefixlength of address */
unsigned char ifa_flags; /* Address flags */
unsigned char ifa_scope; /* Address scope */
- int ifa_index; /* Interface index */
+ unsigned int ifa_index; /* Interface index */
};
.EE
.IP
--
2.24.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] rtnetlink.7: ifa_index is an unsigned int
2019-12-29 18:25 [PATCH] rtnetlink.7: ifa_index is an unsigned int Antonin Décimo
@ 2019-12-30 18:47 ` Michael Kerrisk (man-pages)
0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2019-12-30 18:47 UTC (permalink / raw)
To: Antonin Décimo; +Cc: mtk.manpages, linux-man
On 12/29/19 7:25 PM, Antonin Décimo wrote:
> See include/linux/if_addr.h.
Thanks, Antonin. Patch applied.
Cheers,
Michael
> struct ifaddrmsg {
> __u8 ifa_family;
> __u8 ifa_prefixlen; /* The prefix length */
> __u8 ifa_flags; /* Flags */
> __u8 ifa_scope; /* Address scope */
> __u32 ifa_index; /* Link index */
> };
>
> ---
> man7/rtnetlink.7 | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/man7/rtnetlink.7 b/man7/rtnetlink.7
> index 0be59a7..6260545 100644
> --- a/man7/rtnetlink.7
> +++ b/man7/rtnetlink.7
> @@ -134,7 +134,7 @@ struct ifaddrmsg {
> unsigned char ifa_prefixlen; /* Prefixlength of address */
> unsigned char ifa_flags; /* Address flags */
> unsigned char ifa_scope; /* Address scope */
> - int ifa_index; /* Interface index */
> + unsigned int ifa_index; /* Interface index */
> };
> .EE
> .IP
>
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-12-30 18:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-29 18:25 [PATCH] rtnetlink.7: ifa_index is an unsigned int Antonin Décimo
2019-12-30 18:47 ` Michael Kerrisk (man-pages)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).