Netdev List
 help / color / mirror / Atom feed
* [PATCH 1/1] rt_names: add rt_addrprotos.d/keepalived.conf
@ 2024-10-28 18:27 Quentin Armitage
  2024-10-28 19:57 ` Stephen Hemminger
  0 siblings, 1 reply; 2+ messages in thread
From: Quentin Armitage @ 2024-10-28 18:27 UTC (permalink / raw)
  To: netdev; +Cc: Quentin Armitage

keepalived now sets the protocol for addresses it adds, so give it a
protocol number it can use.

Signed-off-by: Quentin Armitage <quentin@armitage.org.uk>
---
 etc/iproute2/rt_addrprotos.d/keepalived.conf | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 etc/iproute2/rt_addrprotos.d/keepalived.conf

diff --git a/etc/iproute2/rt_addrprotos.d/keepalived.conf b/etc/iproute2/rt_addrprotos.d/keepalived.conf
new file mode 100644
index 00000000..9a86251d
--- /dev/null
+++ b/etc/iproute2/rt_addrprotos.d/keepalived.conf
@@ -0,0 +1 @@
+18	keepalived
-- 
2.34.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] rt_names: add rt_addrprotos.d/keepalived.conf
  2024-10-28 18:27 [PATCH 1/1] rt_names: add rt_addrprotos.d/keepalived.conf Quentin Armitage
@ 2024-10-28 19:57 ` Stephen Hemminger
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2024-10-28 19:57 UTC (permalink / raw)
  To: Quentin Armitage; +Cc: netdev

On Mon, 28 Oct 2024 18:27:07 +0000
Quentin Armitage <quentin@armitage.org.uk> wrote:

> keepalived now sets the protocol for addresses it adds, so give it a
> protocol number it can use.
> 
> Signed-off-by: Quentin Armitage <quentin@armitage.org.uk>
> ---
>  etc/iproute2/rt_addrprotos.d/keepalived.conf | 1 +
>  1 file changed, 1 insertion(+)
>  create mode 100644 etc/iproute2/rt_addrprotos.d/keepalived.conf
> 
> diff --git a/etc/iproute2/rt_addrprotos.d/keepalived.conf b/etc/iproute2/rt_addrprotos.d/keepalived.conf
> new file mode 100644
> index 00000000..9a86251d
> --- /dev/null
> +++ b/etc/iproute2/rt_addrprotos.d/keepalived.conf
> @@ -0,0 +1 @@
> +18	keepalived

This would probably better off in rt_addrprotos file and make an empty
directory for user additions with similar README.

I.e follow the precedent set by rt_protos

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-10-28 19:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-28 18:27 [PATCH 1/1] rt_names: add rt_addrprotos.d/keepalived.conf Quentin Armitage
2024-10-28 19:57 ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox