]> git.puffer.fish Git - mirror/frr.git/commit
lib: make match functions take const args
authorStephen Hemminger <shemminger@vyatta.com>
Tue, 8 Dec 2009 09:00:50 +0000 (12:00 +0300)
committerDenis Ovsienko <infrastation@yandex.ru>
Tue, 8 Dec 2009 09:00:50 +0000 (12:00 +0300)
commit38cc00cd823fe945c7748de18c3e8932d98dd8f8
tree51f79a6ff37f8858b569f55f27480c4b47eb2aac
parent0d6388abc7a5da2a20a4854c400c8e176127e480
lib: make match functions take const args

* table.c: general type safety and compiler help:
  * maskbit[]: become const
  * route_node_match(): take const args
  * route_node_match_ipv4(): idem
  * route_node_match_ipv6(): idem
  * check_bit(): idem, plus adjust local vars typing
lib/table.c
lib/table.h