Date: Fri, 14 Jan 2022 20:44:53 GMT From: Daniel Ebdrup Jensen <debdrup@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 9f0b56872c1f - main - carp(4): Make regex additionally match on VLAN interfaces Message-ID: <202201142044.20EKirZj000512@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by debdrup (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=9f0b56872c1fb790f67ee45a56ceeeed5d17ddea commit 9f0b56872c1fb790f67ee45a56ceeeed5d17ddea Author: Daniel Ebdrup Jensen <debdrup@FreeBSD.org> AuthorDate: 2022-01-14 20:32:06 +0000 Commit: Daniel Ebdrup Jensen <debdrup@FreeBSD.org> CommitDate: 2022-01-14 20:44:13 +0000 carp(4): Make regex additionally match on VLAN interfaces This tiny change to the example makes devd capable of reacting to carp status change events on VLAN interfaces. Reported by: Thomas Steen Rasmussen (tykling) <thomas at gibfest.dk> --- share/man/man4/carp.4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/man/man4/carp.4 b/share/man/man4/carp.4 index 8d54d56afa03..2785b97e76ac 100644 --- a/share/man/man4/carp.4 +++ b/share/man/man4/carp.4 @@ -290,7 +290,7 @@ status change events can be set up by using the following devd.conf rule: .Bd -literal -offset indent notify 0 { match "system" "CARP"; - match "subsystem" "[0-9]+@[0-9a-z]+"; + match "subsystem" "[0-9]+@[0-9a-z\.]+"; match "type" "(MASTER|BACKUP)"; action "/root/carpcontrol.sh $subsystem $type"; };
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202201142044.20EKirZj000512>