diff mbox series

[1/1] rt_names: add rt_addrprotos.d/keepalived.conf

Message ID 20241028182707.310560-1-quentin@armitage.org.uk (mailing list archive)
State Rejected
Delegated to: David Ahern
Headers show
Series [1/1] rt_names: add rt_addrprotos.d/keepalived.conf | expand

Checks

Context Check Description
netdev/tree_selection success Not a local patch

Commit Message

Quentin Armitage Oct. 28, 2024, 6:27 p.m. UTC
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

Comments

Stephen Hemminger Oct. 28, 2024, 7:57 p.m. UTC | #1
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
diff mbox series

Patch

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