diff options
Diffstat (limited to 'vrrpd/vrrp.c')
| -rw-r--r-- | vrrpd/vrrp.c | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/vrrpd/vrrp.c b/vrrpd/vrrp.c index 3081c0d955..4a0356411f 100644 --- a/vrrpd/vrrp.c +++ b/vrrpd/vrrp.c @@ -985,7 +985,7 @@ static int vrrp_recv_advertisement(struct vrrp_router *r, struct ipaddr *src,   */  static void vrrp_read(struct thread *thread)  { -	struct vrrp_router *r = thread->arg; +	struct vrrp_router *r = THREAD_ARG(thread);  	struct vrrp_pkt *pkt;  	ssize_t pktsize; @@ -1480,7 +1480,7 @@ static void vrrp_change_state(struct vrrp_router *r, int to)   */  static void vrrp_adver_timer_expire(struct thread *thread)  { -	struct vrrp_router *r = thread->arg; +	struct vrrp_router *r = THREAD_ARG(thread);  	DEBUGD(&vrrp_dbg_proto,  	       VRRP_LOGPFX VRRP_LOGPFX_VRID VRRP_LOGPFX_FAM @@ -1508,7 +1508,7 @@ static void vrrp_adver_timer_expire(struct thread *thread)   */  static void vrrp_master_down_timer_expire(struct thread *thread)  { -	struct vrrp_router *r = thread->arg; +	struct vrrp_router *r = THREAD_ARG(thread);  	zlog_info(VRRP_LOGPFX VRRP_LOGPFX_VRID VRRP_LOGPFX_FAM  		  "Master_Down_Timer expired",  | 
