diff options
Diffstat (limited to 'ospfd/ospf_zebra.c')
-rw-r--r-- | ospfd/ospf_zebra.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ospfd/ospf_zebra.c b/ospfd/ospf_zebra.c index 331c27c0..646c8ed7 100644 --- a/ospfd/ospf_zebra.c +++ b/ospfd/ospf_zebra.c @@ -929,10 +929,12 @@ ospf_distribute_list_update_timer (struct thread *thread) struct external_info *ei; struct route_table *rt; struct ospf_lsa *lsa; - u_char type; + int type; struct ospf *ospf; type = (int) THREAD_ARG (thread); + assert (type < ZEBRA_ROUTE_MAX); + rt = EXTERNAL_INFO (type); ospf = ospf_lookup (); |