diff options
Diffstat (limited to 'pimd/pim_mroute.c')
| -rw-r--r-- | pimd/pim_mroute.c | 7 | 
1 files changed, 2 insertions, 5 deletions
diff --git a/pimd/pim_mroute.c b/pimd/pim_mroute.c index 26ca0e2cee..af6f59824c 100644 --- a/pimd/pim_mroute.c +++ b/pimd/pim_mroute.c @@ -688,12 +688,11 @@ static int pim_mroute_msg(struct pim_instance *pim, const char *buf,  }  #endif /* PIM_IPV != 4 */ -static int mroute_read(struct thread *t) +static void mroute_read(struct thread *t)  {  	struct pim_instance *pim;  	static long long count;  	char buf[10000]; -	int result = 0;  	int cont = 1;  	int rd;  	ifindex_t ifindex; @@ -716,7 +715,7 @@ static int mroute_read(struct thread *t)  			goto done;  		} -		result = pim_mroute_msg(pim, buf, rd, ifindex); +		pim_mroute_msg(pim, buf, rd, ifindex);  		count++;  		if (count % router->packet_process == 0) @@ -725,8 +724,6 @@ static int mroute_read(struct thread *t)  /* Keep reading */  done:  	mroute_read_on(pim); - -	return result;  }  static void mroute_read_on(struct pim_instance *pim)  | 
