]> git.puffer.fish Git - mirror/frr.git/commit
zebra: Allow `set src X` to work on startup 7537/head
authorDonald Sharp <sharpd@nvidia.com>
Fri, 13 Nov 2020 17:06:57 +0000 (12:06 -0500)
committerDonatas Abraitis <donatas.abraitis@gmail.com>
Tue, 17 Nov 2020 07:10:32 +0000 (09:10 +0200)
commitb5617fbb87b6c373fc4b77d8b1a0e2c98ee63be1
tree707f7354a3c8181c3bdabab64cde8bb6b9511ff3
parenta1379291bf927402e26ebecf608117df8e1785f9
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