Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 18762
b: refs/heads/master
c: 3860288
h: refs/heads/master
v: v3
  • Loading branch information
Kris Katterjohn authored and David S. Miller committed Jan 17, 2006
1 parent 0d4b9ce commit 745d8d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 64af4c13622511257daba762b32d9d20f2d0c4b5
refs/heads/master: 3860288ee8298bf2784e9a0c37d26d3a82941e35
2 changes: 1 addition & 1 deletion trunk/net/core/netpoll.c
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ int netpoll_setup(struct netpoll *np)
}
}

if (!memcmp(np->local_mac, "\0\0\0\0\0\0", 6) && ndev->dev_addr)
if (is_zero_ether_addr(np->local_mac) && ndev->dev_addr)
memcpy(np->local_mac, ndev->dev_addr, 6);

if (!np->local_ip) {
Expand Down

0 comments on commit 745d8d1

Please sign in to comment.