* iproute: if%u documentation
@ 2021-06-04 4:30 Марк Коренберг
2021-06-04 4:34 ` Марк Коренберг
0 siblings, 1 reply; 2+ messages in thread
From: Марк Коренберг @ 2021-06-04 4:30 UTC (permalink / raw)
To: netdev
Referring to interfaces by index using "if%u" is not documented.
So `ip addr add if%5 1.2.3.4/24` works. I want to use the feature in
my project, but absence of documentations for this way stops me from
it.
I think, it should be documented and also added to help messages.
--
Segmentation fault
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: iproute: if%u documentation
2021-06-04 4:30 iproute: if%u documentation Марк Коренберг
@ 2021-06-04 4:34 ` Марк Коренберг
0 siblings, 0 replies; 2+ messages in thread
From: Марк Коренберг @ 2021-06-04 4:34 UTC (permalink / raw)
To: netdev
I mean `ip addr add if5 1.2.3.4/24`.
Also, since `if5` could be valid interface name, I propose another
syntax (it's another task not related to documentation), like `if%5`.
Since percent sign is not allowed in network interface names.
пт, 4 июн. 2021 г. в 09:30, Марк Коренберг <socketpair@gmail.com>:
>
> Referring to interfaces by index using "if%u" is not documented.
>
> So `ip addr add if%5 1.2.3.4/24` works. I want to use the feature in
> my project, but absence of documentations for this way stops me from
> it.
> I think, it should be documented and also added to help messages.
>
> --
> Segmentation fault
--
Segmentation fault
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-06-04 4:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-04 4:30 iproute: if%u documentation Марк Коренберг
2021-06-04 4:34 ` Марк Коренберг
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.