Revision e43ae633

View differences:

nest/rt-table.c
538 538
{
539 539
  net *n = e->net;
540 540
  if (n)
541
    debug("%1I/%2d ", n->n.prefix, n->n.pxlen);
541
    debug("%-1I/%2d ", n->n.prefix, n->n.pxlen);
542 542
  else
543 543
    debug("??? ");
544 544
  debug("KF=%02x PF=%02x pref=%d lm=%d ", n->n.flags, e->pflags, e->pref, now-e->lastmod);
proto/ospf/dbdes.c
88 88
	    en=(struct top_hash_entry *)sn;
89 89
	    htonlsah(&(en->lsa), lsa);
90 90
	    DBG("Working on: %d\n", i);
91
            DBG("\tX%01x %08I %08I %p\n", en->lsa.type, en->lsa.id,
91
            DBG("\tX%01x %-1I %-1I %p\n", en->lsa.type, en->lsa.id,
92 92
              en->lsa.rt, en->lsa_body);
93 93

  
94 94
	    if(sn==STAIL(n->ifa->oa->lsal))
proto/ospf/neighbor.c
545 545
   if(n->rid==ifa->bdrid) pos="bdr  ";
546 546
   if(n->ifa->type==OSPF_IT_PTP) pos="ptp  ";
547 547

  
548
   cli_msg(-1013,"%-18I\t%3u\t%s/%s\t%-5s\t%-18I\t%-10s",n->rid, n->priority,
548
   cli_msg(-1013,"%-1I\t%3u\t%s/%s\t%-5s\t%-1I\t%-10s",n->rid, n->priority,
549 549
     ospf_ns[n->state], pos, etime, n->ip,ifa->iface->name);
550 550
}
proto/ospf/ospf.c
836 836
      cli_msg(-1014,"\t\tArea networks:");
837 837
      WALK_LIST(anet, oa->net_list)
838 838
      {
839
        cli_msg(-1014,"\t\t\t%18I/%u\t%s", anet->net, anet->mlen,
839
        cli_msg(-1014,"\t\t\t%1I/%u\t%s", anet->net, anet->mlen,
840 840
          anet->hidden ? "Hidden" : "Advertise");
841 841
      }
842 842
    }
proto/ospf/topology.c
629 629
      struct top_hash_entry *e = f->hash_table[i];
630 630
      while (e)
631 631
	{
632
	  OSPF_TRACE(D_EVENTS, "\t%1x %8I %8I %4u 0x%08x",
632
	  OSPF_TRACE(D_EVENTS, "\t%1x %-1I %-1I %4u 0x%08x",
633 633
	    e->lsa.type, e->lsa.id,
634 634
            e->lsa.rt, e->lsa.age, e->lsa.sn);
635 635
	  e = e->next;
proto/static/static.c
150 150
static void
151 151
static_dump_rt(struct static_route *r)
152 152
{
153
  debug("%16I/%2d: ", r->net, r->masklen);
153
  debug("%-1I/%2d: ", r->net, r->masklen);
154 154
  switch (r->dest)
155 155
    {
156 156
    case RTD_ROUTER:

Also available in: Unified diff