diff options
Diffstat (limited to 'net/packet')
-rw-r--r-- | net/packet/af_packet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c index c7c5d524967..6da9f38ef5c 100644 --- a/net/packet/af_packet.c +++ b/net/packet/af_packet.c | |||
@@ -1582,9 +1582,9 @@ static int packet_dev_mc(struct net_device *dev, struct packet_mclist *i, | |||
1582 | break; | 1582 | break; |
1583 | case PACKET_MR_UNICAST: | 1583 | case PACKET_MR_UNICAST: |
1584 | if (what > 0) | 1584 | if (what > 0) |
1585 | return dev_unicast_add(dev, i->addr, i->alen); | 1585 | return dev_unicast_add(dev, i->addr); |
1586 | else | 1586 | else |
1587 | return dev_unicast_delete(dev, i->addr, i->alen); | 1587 | return dev_unicast_delete(dev, i->addr); |
1588 | break; | 1588 | break; |
1589 | default:; | 1589 | default:; |
1590 | } | 1590 | } |