Revision 2b5ca73a bird-2.0.1/proto/bgp/packets.c

View differences:

bird-2.0.1/proto/bgp/packets.c
2996 2996
            }
2997 2997
            else if (s & (1 << PKT_UPDATE))
2998 2998
            {
2999
                BGP_TRACE(D_PACKETS, "Ho un pkt di UPDATE da inviare");
2999
                //BGP_TRACE(D_PACKETS, "Ho un pkt di UPDATE da inviare");
3000 3000
                end = bgp_create_update(c, pkt);
3001 3001
                if (end){
3002
                    BGP_TRACE(D_PACKETS, "CONFERMATO PKT UPDATE");
3002
                    //BGP_TRACE(D_PACKETS, "CONFERMATO PKT UPDATE");
3003 3003
                    return bgp_send(conn, PKT_UPDATE, end - buf);
3004 3004
                }
3005 3005

  
3006 3006
                /* No update to send, perhaps we need to send End-of-RIB or EoRR */
3007
                BGP_TRACE(D_PACKETS, "MERDA");
3008 3007
                c->packets_to_send = 0;
3009 3008
                conn->channels_to_send &= ~(1 << c->index);
3010 3009

  

Also available in: Unified diff