/[lwip]/lwip/src/core/udp.c
ViewVC logotype

Diff of /lwip/src/core/udp.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.40 by jani, Tue May 6 12:15:08 2003 UTC revision 1.41 by likewise, Tue May 20 11:23:59 2003 UTC
# Line 549  udp_connect(struct udp_pcb *pcb, struct Line 549  udp_connect(struct udp_pcb *pcb, struct
549    
550    ip_addr_set(&pcb->remote_ip, ipaddr);    ip_addr_set(&pcb->remote_ip, ipaddr);
551    pcb->remote_port = port;    pcb->remote_port = port;
552      pcb->flags |= UDP_FLAGS_CONNECTED;
553  /** TODO: this functionality belongs in upper layers */  /** TODO: this functionality belongs in upper layers */
554  #if 0  #if 0
   pcb->flags |= UDP_FLAGS_CONNECTED;  
555    /* Nail down local IP for netconn_addr()/getsockname() */    /* Nail down local IP for netconn_addr()/getsockname() */
556    if (ip_addr_isany(&pcb->local_ip) && !ip_addr_isany(&pcb->remote_ip)) {    if (ip_addr_isany(&pcb->local_ip) && !ip_addr_isany(&pcb->remote_ip)) {
557      struct netif *netif;      struct netif *netif;

Legend:
Removed from v.1.40  
changed lines
  Added in v.1.41

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26