]> git.puffer.fish Git - mirror/frr.git/commit
zebra: don't misappropriate `errno`
authorDavid Lamparter <equinox@opensourcerouting.org>
Wed, 16 Oct 2024 10:53:47 +0000 (12:53 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Wed, 16 Oct 2024 11:30:25 +0000 (13:30 +0200)
commit67b0a457ed32fd452aa4622c20531b9721cc3328
tree15cc848f6da92ca73b2ea5b40832bca67baa21d8
parent1350f8d1c19c6010b3b531f6203b2016aa71ce33
zebra: don't misappropriate `errno`

`errno` has its own semantics.  Sometimes it is correct to write to it.
This is not one of those cases - just use a separate `nl_errno`.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
zebra/zebra_netns_id.c