comment "quagga needs a toolchain w/ IPv6"
	depends on BR2_USE_MMU
	depends on !BR2_INET_IPV6

config BR2_PACKAGE_QUAGGA
	bool "quagga"
	depends on BR2_USE_MMU # fork()
	depends on BR2_INET_IPV6
	help
	  Routing software suite, providing implementations of
	  OSPFv2, OSPFv3 (IPv6), RIP v1 and v2, RIPng (IPv6) and BGPv4+.

	  http://www.quagga.net/

if BR2_PACKAGE_QUAGGA

config BR2_PACKAGE_QUAGGA_ZEBRA
	bool "zebra daemon"
	help
	  Build zebra daemon.

config BR2_PACKAGE_QUAGGA_TCP_ZEBRA
	bool "Use TCP sockets between zebra and protocol daemons"
	depends on BR2_PACKAGE_QUAGGA_ZEBRA
	help
	  Use a TCP socket to communicate between zebra (supervisor) and
	  the different protocol daemons.

	  You'll want this enabled if zebra and the protocol daemon(s) run
	  on different hosts.

config BR2_PACKAGE_QUAGGA_BABELD
	bool "BABEL protocol"
	help
	  Build babeld daemon.

config BR2_PACKAGE_QUAGGA_BGPD
	bool "BPGv4+ protocol"
	help
	  Build bpgd daemon.

config BR2_PACKAGE_QUAGGA_BGP_ANNOUNCE
	bool "BGP route announcement"
	depends on BR2_PACKAGE_QUAGGA_BGPD

config BR2_PACKAGE_QUAGGA_ISISD
	bool "IS-IS protocol"
	help
	  Enable isisd support in quagga.

config BR2_PACKAGE_QUAGGA_OSPFD
	bool "OSPFv2 protocol"
	help
	  Build ospfd daemon.

config BR2_PACKAGE_QUAGGA_OPAQUE_LSA
	bool "OSPF Opaque-LSA with OSPFAPI support (RFC2370)"
	depends on BR2_PACKAGE_QUAGGA_OSPFD

config BR2_PACKAGE_QUAGGA_OSPF6D
	bool "OSPFv3 (IPv6) protocol"
	help
	  Build ospf6d daemon.

config BR2_PACKAGE_QUAGGA_RIPD
	bool "RIPv2/v3 protocol"
	help
	  Build ripd daemon.

config BR2_PACKAGE_QUAGGA_RIPNGD
	bool "RIPng (IPv6) protocol"
	help
	  Build ripngd daemon.

config BR2_PACKAGE_QUAGGA_PIMD
	bool "PIMd protocol"
	help
	  Provides IPv4 PIM-SSM multicast routing.

config BR2_PACKAGE_QUAGGA_WATCHQUAGGA
	bool "Build watchquagga"
	help
	  Build and install watchquagga, a zebra/protocol daemon supervisor.

config BR2_PACKAGE_QUAGGA_VTYSH
	bool "Build vtysh"
	select BR2_PACKAGE_READLINE
	help
	  Build and install vtysh, a vty shell for Quagga.

config BR2_PACKAGE_QUAGGA_SNMP
	bool "SNMP support"
	depends on BR2_USE_MMU # net-snmp
	select BR2_PACKAGE_NETSNMP
	help
	  Make quagga information available via SNMP SMUX.

comment "AgentX support must be enabled in net-snmp or the build will break"
	depends on BR2_PACKAGE_QUAGGA_SNMP

endif
