mirror of https://gitee.com/openkylin/linux.git
Staging: otus: Fix branch in zfProtRspSim()
This semicolon is misplaced. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
cb13887657
commit
1c47faa0af
|
@ -536,8 +536,7 @@ void zfProtRspSim(zdev_t* dev, zbuf_t* buf)
|
|||
zm_msg2_rx(ZM_LV_2, "ip1=", dip[1]);
|
||||
|
||||
//ARP request to 192.168.1.15
|
||||
if ((arpOp == 0x0100) && (dip[0] == 0xa8c0) && (dip[1] == 0x0f01));
|
||||
{
|
||||
if ((arpOp == 0x0100) && (dip[0] == 0xa8c0) && (dip[1] == 0x0f01)) {
|
||||
zm_msg0_rx(ZM_LV_2, "ARP");
|
||||
/* ARP response */
|
||||
zmw_rx_buf_writeh(dev, buf, 20, 0x0200);
|
||||
|
|
Loading…
Reference in New Issue