diff options
Diffstat (limited to 'ospfd/ospf_ism.h')
-rw-r--r-- | ospfd/ospf_ism.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ospfd/ospf_ism.h b/ospfd/ospf_ism.h index 6de8b8e2..b04865af 100644 --- a/ospfd/ospf_ism.h +++ b/ospfd/ospf_ism.h @@ -46,17 +46,17 @@ #define ISM_InterfaceDown 7 #define OSPF_ISM_EVENT_MAX 8 -#define OSPF_ISM_WRITE_ON(O) \ +#define OSPF_ISM_WRITE_ON() \ do \ { \ if (oi->on_write_q == 0) \ { \ - listnode_add ((O)->oi_write_q, oi); \ + listnode_add (ospf_top->oi_write_q, oi); \ oi->on_write_q = 1; \ } \ - if ((O)->t_write == NULL) \ - (O)->t_write = \ - thread_add_write (master, ospf_write, (O), (O)->fd); \ + if (ospf_top->t_write == NULL) \ + ospf_top->t_write = \ + thread_add_write (master, ospf_write, ospf_top, ospf_top->fd); \ } while (0) /* Macro for OSPF ISM timer turn on. */ |