]> git.proxmox.com Git - mirror_frr.git/commit - zebra/main.c
zebra: fix up compilation without rtadv/IPv6
authorJoachim Nilsson <troglobit@gmail.com>
Wed, 9 May 2012 11:38:36 +0000 (13:38 +0200)
committerDavid Lamparter <equinox@diac24.net>
Wed, 9 May 2012 11:51:54 +0000 (13:51 +0200)
commit36735ed988f96810e78d0ace2f7d8e6397db5c50
tree3a8f876383d07a33aa7b76d7519a75d8678bbb1f
parent42cb6b6655d0cc141374ec373220d244f81fbba0
zebra: fix up compilation without rtadv/IPv6

let's ground the rtadv.h file if route advertisements are disabled. And
fix up the CLI for it, as well as move the "show ip mroute" to its
proper place.

  * zebra/rtadv.h: #ifdef RTADV
  * zebra/main.c: #ifdef RTADV
  * zebra/zebra_vty.c: move "show ip mroute" out of #ifdef IPV6

From: Joachim Nilsson <troglobit@gmail.com>
[moved #ifdef RTADV to rtadv.h]
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
zebra/main.c
zebra/rtadv.h
zebra/zebra_vty.c