the check "if (nc->rtableid)"
authorbenno <benno@openbsd.org>
Tue, 10 Jul 2018 12:38:50 +0000 (12:38 +0000)
committerbenno <benno@openbsd.org>
Tue, 10 Jul 2018 12:38:50 +0000 (12:38 +0000)
commit2bfc7a1e4187205c26850add8f9130ec1679b299
tree63848747b5ad731eef99ddbba9685b2ac336d1ae
parent00c1ad6a1d60e011efe9eb8971e5193f4c4ba393
the check "if (nc->rtableid)"

is used as an indicator that we are dealing with network statements from within
rdomain <n> { } blocks.

That needs to check against the rdomain we are running in instead.

ok claudio@
usr.sbin/bgpd/rde.c