]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: Allow `set src X` to work on startup
authorDonald Sharp <sharpd@nvidia.com>
Fri, 13 Nov 2020 17:06:57 +0000 (12:06 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Fri, 13 Nov 2020 21:12:26 +0000 (16:12 -0500)
commit6d12b207033f90603a0a6642346c39aac17d1f9a
tree35cc73016c011fce69827aa44cb676ddc3c7e02e
parent15675d025dc024733a532e1a9ad19c59df4ba73d
zebra: Allow `set src X` to work on startup

If a route-map in zebra has `set src X` and the interface
X is on has not been configured yet, we are rejecting the command
outright.  This is a problem on boot up especially( and where I
found this issue ) in that interfaces *can* and *will* be slow
on startup and config can easily be read in *before* the
interface has an ip address.

Let's modify zebra to just warn to the user we may have a problem
and let the chips fall where they may.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
zebra/zebra_nb_config.c