diff --git a/include/zenoh-pico/system/link/raweth.h b/include/zenoh-pico/system/link/raweth.h index 21b752ace..f2d30d0df 100644 --- a/include/zenoh-pico/system/link/raweth.h +++ b/include/zenoh-pico/system/link/raweth.h @@ -23,7 +23,7 @@ #if Z_FEATURE_RAWETH_TRANSPORT == 1 // Ethernet types -#define _ZP_ETH_TYPE_VLAN 0x8100 // 2048 (0x0800) IPv4 +#define _ZP_ETH_TYPE_VLAN 0x8100 #define _ZP_ETH_TYPE_CUTOFF 0x600 // Values above are ethertype // Address Sizes diff --git a/src/transport/raweth/tx.c b/src/transport/raweth/tx.c index c9d1bfa5a..3382292a2 100644 --- a/src/transport/raweth/tx.c +++ b/src/transport/raweth/tx.c @@ -106,7 +106,6 @@ static int8_t __unsafe_z_raweth_write_header(_z_transport_multicast_t *ztm) { size_t len = _z_wbuf_len(&ztm->_wbuf); _z_raweth_socket_t *resocket = &ztm->_link._socket._raweth; - // FIXME config function call to set the correct dmac & vlan value // Write eth header in buffer if (resocket->_has_vlan) { _zp_eth_vlan_header_t header;