Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 144376
b: refs/heads/master
c: 65fd210
h: refs/heads/master
v: v3
  • Loading branch information
Ashutosh Naik authored and Linus Torvalds committed May 2, 2009
1 parent c6eb5d9 commit 272cbc2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 9e4a5bda89034502fb144331e71a0efdfd5fae97
refs/heads/master: 65fd21058a791f35aff11eeccd2e270f0faf11ec
4 changes: 2 additions & 2 deletions trunk/drivers/firmware/iscsi_ibft.c
Original file line number Diff line number Diff line change
Expand Up @@ -754,11 +754,11 @@ static int __init ibft_check_nic_for(struct ibft_nic *nic, int entry)
rc = 1;
break;
case ibft_eth_ip_addr:
if (!memcmp(nic->dhcp, nulls, sizeof(nic->dhcp)))
if (memcmp(nic->ip_addr, nulls, sizeof(nic->ip_addr)))
rc = 1;
break;
case ibft_eth_subnet_mask:
if (!memcmp(nic->dhcp, nulls, sizeof(nic->dhcp)))
if (nic->subnet_mask_prefix)
rc = 1;
break;
case ibft_eth_origin:
Expand Down

0 comments on commit 272cbc2

Please sign in to comment.