Revision df49d4e1 proto/ospf/hello.c

View differences:

proto/ospf/hello.c
62 62

  
63 63
  if((unsigned)ipa_mklen(ipa_ntoh(ps->netmask))!=ifa->iface->addr->pxlen)
64 64
  {
65
    log("%s%s%I%s%Ibad netmask %I.\n", p->name, beg, nrid, rec,
65
    log("%s%s%I%s%Ibad netmask %I.", p->name, beg, nrid, rec,
66 66
      ipa_ntoh(ps->netmask));
67 67
    return;
68 68
  }
69 69
  
70 70
  if(ntohs(ps->helloint)!=ifa->helloint)
71 71
  {
72
    log("%s%s%I%shello interval mismatch.\n", p->name, beg, faddr, rec);
72
    log("%s%s%I%shello interval mismatch.", p->name, beg, faddr, rec);
73 73
    return;
74 74
  }
75 75

  
76 76
  if(ntohl(ps->deadint)!=ifa->helloint*ifa->deadc)
77 77
  {
78
    log("%s%s%I%sdead interval mismatch.\n", p->name, beg, faddr, rec);
78
    log("%s%s%I%sdead interval mismatch.", p->name, beg, faddr, rec);
79 79
    return;
80 80
  }
81 81

  
82 82
  if(ps->options!=ifa->options)
83 83
  {
84
    log("%s%s%I%soptions mismatch.\n", p->name, beg, faddr, rec);
84
    log("%s%s%I%soptions mismatch.", p->name, beg, faddr, rec);
85 85
    return;
86 86
  }
87 87

  
88 88
  if((n=find_neigh(ifa, nrid))==NULL)
89 89
  {
90
    debug("%s: New neighbor found: %I on %s.\n", p->name,faddr,
90
    debug("%s: New neighbor found: %I on %s.", p->name,faddr,
91 91
      ifa->iface->name);
92 92
    n=mb_allocz(p->pool, sizeof(struct ospf_neighbor));
93 93
    add_tail(&ifa->neigh_list, NODE n);

Also available in: Unified diff