mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-13 19:57:05 +08:00
zepif: fix destination IP (default should be broadcast, not 0.0.0.0)
This commit is contained in:
@@ -56,10 +56,14 @@ extern "C" {
|
||||
/** Pass this struct as 'state' to netif_add to control the behaviour
|
||||
* of this netif. If NULL is passed, default behaviour is chosen */
|
||||
struct zepif_init {
|
||||
/** The UDP port used for ZEP frames (0 = default) */
|
||||
u16_t zep_udp_port;
|
||||
/** The IP address to sed ZEP frames to */
|
||||
const ip_addr_t *zep_ip_addr;
|
||||
/** The UDP port used to ZEP frames from (0 = default) */
|
||||
u16_t zep_src_udp_port;
|
||||
/** The UDP port used to ZEP frames to (0 = default) */
|
||||
u16_t zep_dst_udp_port;
|
||||
/** The IP address to sed ZEP frames from (NULL = ANY) */
|
||||
const ip_addr_t *zep_src_ip_addr;
|
||||
/** The IP address to sed ZEP frames to (NULL = BROADCAST) */
|
||||
const ip_addr_t *zep_dst_ip_addr;
|
||||
/** If != NULL, the udp pcb is bound to this netif */
|
||||
const struct netif *zep_netif;
|
||||
/** MAC address of the 6LowPAN device */
|
||||
|
||||
Reference in New Issue
Block a user