From 4472402551a1cc8d760a4e980fdcd7a417e0796a Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Tue, 18 Apr 2000 18:29:50 +0000 Subject: Many %u changer into %I. --- proto/ospf/dbdes.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'proto/ospf/dbdes.c') diff --git a/proto/ospf/dbdes.c b/proto/ospf/dbdes.c index 16cf817..49841d3 100644 --- a/proto/ospf/dbdes.c +++ b/proto/ospf/dbdes.c @@ -38,7 +38,7 @@ ospf_dbdes_tx(struct ospf_neighbor *n) op->length=htons(length); ospf_pkt_finalize(ifa, op); sk_send_to(ifa->ip_sk,length, n->ip, OSPF_PROTO); - debug("%s: DB_DES (I) sent for %u.\n", p->name, n->rid); + debug("%s: DB_DES (I) sent for %I.\n", p->name, n->rid); break; case NEIGHBOR_EXCHANGE: @@ -128,7 +128,7 @@ ospf_dbdes_tx(struct ospf_neighbor *n) } sk_send_to(ifa->ip_sk,length, n->ip, OSPF_PROTO); - debug("%s: DB_DES sent to %u.\n", p->name, n->rid); + debug("%s: DB_DES sent to %I.\n", p->name, n->rid); if(n->myimms.bit.ms) tm_start(n->rxmt_timer,ifa->rxmtint); else { @@ -158,7 +158,7 @@ rxmt_timer_hook(timer *timer) n=(struct ospf_neighbor *)timer->data; ifa=n->ifa; p=(struct proto *)(ifa->proto); - debug("%s: RXMT timer fired on interface %s for neigh: %u.\n", + debug("%s: RXMT timer fired on interface %s for neigh: %I.\n", p->name, ifa->iface->name, n->rid); if(n->statename, + debug("%s: Received dbdes from unknown neigbor! (%I)\n", p->name, nrid); return ; } if(ifa->iface->mtuname, nrid); + debug("%s: Received dbdes larger than MTU from (%I)!\n", p->name, nrid); return ; } @@ -234,7 +234,7 @@ ospf_dbdes_rx(struct ospf_dbdes_packet *ps, struct proto *p, case NEIGHBOR_DOWN: case NEIGHBOR_ATTEMPT: case NEIGHBOR_2WAY: - debug("%s: Received dbdes from %u in bad state. (%u)\n", p->name, nrid); + debug("%s: Received dbdes from %I in bad state.\n", p->name, nrid); return; break; case NEIGHBOR_INIT: @@ -251,7 +251,7 @@ ospf_dbdes_rx(struct ospf_dbdes_packet *ps, struct proto *p, n->options=ps->options; n->myimms.bit.ms=0; n->imms.byte=ps->imms.byte; - debug("%s: I'm slave to %u. \n", p->name, nrid); + debug("%s: I'm slave to %I. \n", p->name, nrid); ospf_neigh_sm(n, INM_NEGDONE); tm_stop(n->rxmt_timer); ospf_dbdes_tx(n); @@ -266,12 +266,12 @@ ospf_dbdes_rx(struct ospf_dbdes_packet *ps, struct proto *p, n->options=ps->options; n->ddr=ntohl(ps->ddseq)-1; n->imms.byte=ps->imms.byte; - debug("%s: I'm master to %u. \n", p->name, nrid); + debug("%s: I'm master to %I. \n", p->name, nrid); ospf_neigh_sm(n, INM_NEGDONE); } else { - debug("%s: Nothing happend to %u (imms=%u)", p->name, nrid, + debug("%s: Nothing happend to %I (imms=%u)", p->name, nrid, ps->imms.byte); break; } @@ -281,7 +281,7 @@ ospf_dbdes_rx(struct ospf_dbdes_packet *ps, struct proto *p, (ntohl(ps->ddseq)==n->ddr)) { /* Duplicate packet */ - debug("%s: Received duplicate dbdes from (%u)!\n", p->name, nrid); + debug("%s: Received duplicate dbdes from (%I)!\n", p->name, nrid); if(n->imms.bit.ms==0) { ospf_dbdes_tx(n); @@ -355,7 +355,7 @@ ospf_dbdes_rx(struct ospf_dbdes_packet *ps, struct proto *p, if((ps->imms.byte==n->imms.byte) && (ps->options=n->options) && (ps->ddseq==n->dds)) /* Only duplicate are accepted */ { - debug("%s: Received duplicate dbdes from (%u)!\n", p->name, nrid); + debug("%s: Received duplicate dbdes from (%I)!\n", p->name, nrid); return; } else @@ -364,7 +364,7 @@ ospf_dbdes_rx(struct ospf_dbdes_packet *ps, struct proto *p, } break; defaut: - die("%s: Received dbdes from %u in unknown state. (%u)\n", p->name, nrid); + die("%s: Received dbdes from %I in unknown state.\n", p->name, nrid); break; } } -- cgit v1.2.3