]> git.proxmox.com Git - mirror_frr.git/commit
lib: fix const-check in route_node
authorDavid Lamparter <equinox@opensourcerouting.org>
Tue, 22 Aug 2017 13:27:08 +0000 (15:27 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Tue, 22 Aug 2017 13:27:08 +0000 (15:27 +0200)
commitacf3a851b97209cbb922c279ae8ae9493a786686
treeac1e06367d166f8fc60ddf270448f6cba12a4ec1
parent3f543889568e7f267f6f6d1e919eeb31a21ee97f
lib: fix const-check in route_node

route_node->lock is "const" if --enable-dev-build is used.  This is done
to deter people from messing with internals of the route_table...
unfortunately, the inline'd route_[un]lock_node runs into this.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
lib/table.h