diff options
Diffstat (limited to 'net/packet/af_packet.c')
-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 1612d417d10c..48c1e0ae565f 100644 --- a/net/packet/af_packet.c +++ b/net/packet/af_packet.c | |||
@@ -1705,9 +1705,9 @@ static int packet_dev_mc(struct net_device *dev, struct packet_mclist *i, | |||
1705 | if (i->alen != dev->addr_len) | 1705 | if (i->alen != dev->addr_len) |
1706 | return -EINVAL; | 1706 | return -EINVAL; |
1707 | if (what > 0) | 1707 | if (what > 0) |
1708 | return dev_unicast_add(dev, i->addr); | 1708 | return dev_uc_add(dev, i->addr); |
1709 | else | 1709 | else |
1710 | return dev_unicast_delete(dev, i->addr); | 1710 | return dev_uc_del(dev, i->addr); |
1711 | break; | 1711 | break; |
1712 | default: | 1712 | default: |
1713 | break; | 1713 | break; |