Enable multi-cast routing support

This commit is contained in:
Sebastian Huber
2017-01-09 09:41:29 +01:00
parent 95a3ba8284
commit 46f0b8bd51
4 changed files with 24 additions and 0 deletions

View File

@@ -420,10 +420,12 @@ mrt_stats()
mstaddr = nl[N_MRTSTAT].n_value;
#ifndef __rtems__
if (mstaddr == 0) {
fprintf(stderr, "No IPv4 MROUTING kernel support.\n");
return;
}
#endif /* __rtems__ */
if (fetch_stats("net.inet.ip.mrtstat", mstaddr, &mrtstat,
sizeof(mrtstat), kread_counters) != 0)