Core
~~~~
+- config: when parsing prefix, check zero bits
+
- static: check validity of route destination?
- static: allow specifying a per-route filter program for setting route attributes?
Commands
~~~~~~~~
-- show status
- showing of routing table as seen by given protocol
- printing of dynamic attributes
- netlink: import Linux route attributes to our rta's, so that they can be filtered?
- config: executable config files
- client: access control
-- config: when parsing prefix, check zero bits
- io: use poll if available
- IPv6 router advertisements
- real multipath (doesn't seem to be simple at all :()
mb_free(p);
if (!nc)
return;
- p = proto_init(nc); /* FIXME: What about protocol priorities??? */
+ p = proto_init(nc);
}
/* Determine what state we want to reach */
rt_show_cont(struct cli *c)
{
struct rt_show_data *d = c->rover;
- unsigned max = 1; /* FIXME: After some debugging, increase to reasonable amount */
+#ifdef DEBUGGING
+ unsigned max = 4;
+#else
+ unsigned max = 64;
+#endif
struct fib *fib = &d->table->fib;
struct fib_iterator *it = &d->fit;
sock *s;
node *n, *p;
- /* FIXME: Use poll() if available */
-
FD_ZERO(&rd);
FD_ZERO(&wr);
for(;;)
dbgf = stderr;
else if (!(dbgf = fopen(f, "a")))
log(L_ERR "Error opening debug file `%s': %m", f);
+ if (dbgf)
+ setvbuf(dbgf, NULL, _IONBF, 0);
}
dmalloc_debug(0x2f03d00);
#endif
- setvbuf(stdout, NULL, _IONBF, 0); /* FIXME: Kill some day. */
- setvbuf(stderr, NULL, _IONBF, 0);
parse_args(argc, argv);
if (debug_flag == 1)
log_init_debug("");