In r207768 I silenced a console warning from rum(4). There was legitimate
opposition to the change, since really we need to implement missing functionality in drivers or the 802.3 layer. For now, restore a reminder message for a missing rum_update_mcast, but print it only once.
This commit is contained in:
parent
6239ef1d29
commit
2c7dee3bf5
@ -1819,8 +1819,12 @@ rum_update_promisc(struct ifnet *ifp)
|
|||||||
static void
|
static void
|
||||||
rum_update_mcast(struct ifnet *ifp)
|
rum_update_mcast(struct ifnet *ifp)
|
||||||
{
|
{
|
||||||
|
static int warning_printed;
|
||||||
|
|
||||||
/* XXX do nothing? */
|
if (warning_printed == 0) {
|
||||||
|
if_printf(ifp, "need to implement %s\n", __func__);
|
||||||
|
warning_printed = 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static const char *
|
static const char *
|
||||||
|
Loading…
x
Reference in New Issue
Block a user