[BACK]Return to ddp_output.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / netatalk

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/netatalk/ddp_output.c between version 1.16 and 1.17

version 1.16, 2012/01/31 09:53:44 version 1.17, 2013/09/12 19:47:58
Line 127  ddp_route(struct mbuf *m, struct route *
Line 127  ddp_route(struct mbuf *m, struct route *
         struct at_ifaddr *aa = NULL;          struct at_ifaddr *aa = NULL;
         struct ifnet   *ifp = NULL;          struct ifnet   *ifp = NULL;
         uint16_t        net;          uint16_t        net;
         uint8_t         node;  
         uint8_t         loopback = 0;          uint8_t         loopback = 0;
   
         if ((rt = rtcache_validate(ro)) != NULL && (ifp = rt->rt_ifp) != NULL) {          if ((rt = rtcache_validate(ro)) != NULL && (ifp = rt->rt_ifp) != NULL) {
Line 135  ddp_route(struct mbuf *m, struct route *
Line 134  ddp_route(struct mbuf *m, struct route *
                 uint16_t dnet = dst->sat_addr.s_net;                  uint16_t dnet = dst->sat_addr.s_net;
                 uint8_t dnode = dst->sat_addr.s_node;                  uint8_t dnode = dst->sat_addr.s_node;
                 net = satosat(rt->rt_gateway)->sat_addr.s_net;                  net = satosat(rt->rt_gateway)->sat_addr.s_net;
                 node = satosat(rt->rt_gateway)->sat_addr.s_node;  
   
                 TAILQ_FOREACH(aa, &at_ifaddr, aa_list) {                  TAILQ_FOREACH(aa, &at_ifaddr, aa_list) {
                         if (ntohs(net) >= ntohs(aa->aa_firstnet) &&                          if (ntohs(net) >= ntohs(aa->aa_firstnet) &&

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

CVSweb <webmaster@jp.NetBSD.org>