diff options
Diffstat (limited to 'net/ipv4/devinet.c')
-rw-r--r-- | net/ipv4/devinet.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv4/devinet.c b/net/ipv4/devinet.c index ff53860d1e56..6d85800daeb7 100644 --- a/net/ipv4/devinet.c +++ b/net/ipv4/devinet.c | |||
@@ -741,7 +741,7 @@ int devinet_ioctl(struct net *net, unsigned int cmd, void __user *arg) | |||
741 | ifap = &ifa->ifa_next) { | 741 | ifap = &ifa->ifa_next) { |
742 | if (!strcmp(ifr.ifr_name, ifa->ifa_label) && | 742 | if (!strcmp(ifr.ifr_name, ifa->ifa_label) && |
743 | sin_orig.sin_addr.s_addr == | 743 | sin_orig.sin_addr.s_addr == |
744 | ifa->ifa_address) { | 744 | ifa->ifa_local) { |
745 | break; /* found */ | 745 | break; /* found */ |
746 | } | 746 | } |
747 | } | 747 | } |
@@ -1112,8 +1112,8 @@ static void inetdev_send_gratuitous_arp(struct net_device *dev, | |||
1112 | return; | 1112 | return; |
1113 | 1113 | ||
1114 | arp_send(ARPOP_REQUEST, ETH_P_ARP, | 1114 | arp_send(ARPOP_REQUEST, ETH_P_ARP, |
1115 | ifa->ifa_address, dev, | 1115 | ifa->ifa_local, dev, |
1116 | ifa->ifa_address, NULL, | 1116 | ifa->ifa_local, NULL, |
1117 | dev->dev_addr, NULL); | 1117 | dev->dev_addr, NULL); |
1118 | } | 1118 | } |
1119 | 1119 | ||