Revision e8f73195

View differences:

TODO
8 8

  
9 9
* Fix router ID calculation
10 10
* debug dump: dump router ID as well
11
* proto_report_state() !
11 12

  
12 13
- TOS not supported by kernel -> automatically drop routes with TOS<>0
13 14

  
lib/Modules
25 25
patmatch.c
26 26
slists.c
27 27
slists.h
28
event.c
29
event.h
sysdep/unix/io.c
20 20
#include "lib/resource.h"
21 21
#include "lib/timer.h"
22 22
#include "lib/socket.h"
23
#include "lib/event.h"
23 24
#include "nest/iface.h"
24 25

  
25 26
#include "lib/unix.h"
......
58 59
{
59 60
  timer *t = (timer *) r;
60 61

  
61
  debug("(code %p, data %p, ");
62
  debug("(code %p, data %p, ", t->hook, t->data);
62 63
  if (t->randomize)
63 64
    debug("rand %d, ", t->randomize);
64 65
  if (t->recurrent)
......
682 683
  init_list(&near_timers);
683 684
  init_list(&far_timers);
684 685
  init_list(&sock_list);
686
  init_list(&global_event_list);
685 687
  now = time(NULL);
686 688
}
687 689

  
......
701 703
  FD_ZERO(&wr);
702 704
  for(;;)
703 705
    {
706
      ev_run_list(&global_event_list);
704 707
      now = time(NULL);
705 708
      tout = tm_first_shot();
706 709
      if (tout <= now)

Also available in: Unified diff