diff options
Diffstat (limited to 'net/cdp.c')
-rw-r--r-- | net/cdp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -109,7 +109,7 @@ CDPSendTrigger(void) uchar *pkt; ushort *s; ushort *cp; - Ethernet_t *et; + struct ethernet_hdr *et; int len; ushort chksum; #if defined(CONFIG_CDP_DEVICE_ID) || defined(CONFIG_CDP_PORT_ID) || \ @@ -118,7 +118,7 @@ CDPSendTrigger(void) #endif pkt = NetTxPacket; - et = (Ethernet_t *)pkt; + et = (struct ethernet_hdr *)pkt; /* NOTE: trigger sent not on any VLAN */ |