From: "Michael Kerrisk (man-pages)" <mtk.manpages@gmail.com>
To: "Antonin Décimo" <antonin.decimo@gmail.com>
Cc: mtk.manpages@gmail.com, linux-man@vger.kernel.org
Subject: Re: [PATCH] rtnetlink.7: ifa_index is an unsigned int
Date: Mon, 30 Dec 2019 19:47:15 +0100 [thread overview]
Message-ID: <005b7f00-0af1-89f0-8a42-8eab4be56dcf@gmail.com> (raw)
In-Reply-To: <CAC=54BJP7GrFk=0OMgAtRk6T5W4OLdQDpfC6h0xCr57BuuBaKg@mail.gmail.com>
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/
prev parent reply other threads:[~2019-12-30 18:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=005b7f00-0af1-89f0-8a42-8eab4be56dcf@gmail.com \
--to=mtk.manpages@gmail.com \
--cc=antonin.decimo@gmail.com \
--cc=linux-man@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).