summaryrefslogtreecommitdiff
path: root/babeld/babel_main.c
diff options
context:
space:
mode:
authorJuliusz Chroboczek <jch@pps.jussieu.fr>2012-02-14 15:43:34 +0100
committerPaul Jakma <paul@quagga.net>2012-03-25 17:06:54 +0100
commit6881f2698279f3c47a55e8969860eeac59e8c3d7 (patch)
tree7408dfdeff638ce16273cd7c8c4d9c35a99cfe87 /babeld/babel_main.c
parentcbde15513ba47f6e7f6d02fcafcfb12cd5b1df77 (diff)
babeld: remove "parasitic" mode.
This is the functionality described in Appendix C of RFC 6126. Its main purpose is to avoid keeping a full source table, which makes it possible to implement a subset of Babel in just a few hundred lines of code. However, in Quagga the code for maintaining the source table is already there, and a parasitic implementation can be simulated using filtering -- so it makes little sense to keep the functionality.
Diffstat (limited to 'babeld/babel_main.c')
-rw-r--r--babeld/babel_main.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/babeld/babel_main.c b/babeld/babel_main.c
index 003d746b..2f3b5552 100644
--- a/babeld/babel_main.c
+++ b/babeld/babel_main.c
@@ -258,12 +258,6 @@ babel_init(int argc, char **argv)
resend_delay = BABEL_DEFAULT_RESEND_DELAY;
- if(parasitic && allow_duplicates >= 0) {
- /* Too difficult to get right. */
- zlog_err("Sorry, -P and -A are incompatible.");
- exit(1);
- }
-
babel_replace_by_null(STDIN_FILENO);
if (do_daemonise && daemonise() < 0) {
@@ -520,7 +514,6 @@ show_babel_main_configuration (struct vty *vty)
"vty address = %s%s"
"vty port = %d%s"
"id = %s%s"
- "parasitic = %s%s"
"allow_duplicates = %s%s"
"kernel_metric = %d%s",
pidfile, VTY_NEWLINE,
@@ -534,7 +527,6 @@ show_babel_main_configuration (struct vty *vty)
VTY_NEWLINE,
babel_vty_port, VTY_NEWLINE,
format_eui64(myid), VTY_NEWLINE,
- format_bool(parasitic), VTY_NEWLINE,
format_bool(allow_duplicates), VTY_NEWLINE,
kernel_metric, VTY_NEWLINE);
}