Diff for /embedaddon/bird/proto/bfd/packets.c between versions 1.1 and 1.1.1.2

version 1.1, 2017/08/22 12:33:54 version 1.1.1.2, 2021/03/17 19:50:23
Line 141  bfd_fill_authentication(struct bfd_proto *p, struct bf Line 141  bfd_fill_authentication(struct bfd_proto *p, struct bf
   case BFD_AUTH_METICULOUS_KEYED_MD5:    case BFD_AUTH_METICULOUS_KEYED_MD5:
   case BFD_AUTH_METICULOUS_KEYED_SHA1:    case BFD_AUTH_METICULOUS_KEYED_SHA1:
     meticulous = 1;      meticulous = 1;
       /* fallthrough */
   
   case BFD_AUTH_KEYED_MD5:    case BFD_AUTH_KEYED_MD5:
   case BFD_AUTH_KEYED_SHA1:    case BFD_AUTH_KEYED_SHA1:
Line 230  bfd_check_authentication(struct bfd_proto *p, struct b Line 231  bfd_check_authentication(struct bfd_proto *p, struct b
   case BFD_AUTH_METICULOUS_KEYED_MD5:    case BFD_AUTH_METICULOUS_KEYED_MD5:
   case BFD_AUTH_METICULOUS_KEYED_SHA1:    case BFD_AUTH_METICULOUS_KEYED_SHA1:
     meticulous = 1;      meticulous = 1;
       /* fallthrough */
   
   case BFD_AUTH_KEYED_MD5:    case BFD_AUTH_KEYED_MD5:
   case BFD_AUTH_KEYED_SHA1:    case BFD_AUTH_KEYED_SHA1:
Line 410  bfd_open_rx_sk(struct bfd_proto *p, int multihop) Line 412  bfd_open_rx_sk(struct bfd_proto *p, int multihop)
   sock *sk = sk_new(p->tpool);    sock *sk = sk_new(p->tpool);
   sk->type = SK_UDP;    sk->type = SK_UDP;
   sk->sport = !multihop ? BFD_CONTROL_PORT : BFD_MULTI_CTL_PORT;    sk->sport = !multihop ? BFD_CONTROL_PORT : BFD_MULTI_CTL_PORT;
     sk->vrf = p->p.vrf;
   sk->data = p;    sk->data = p;
   
   sk->rbsize = BFD_MAX_LEN;    sk->rbsize = BFD_MAX_LEN;
Line 445  bfd_open_tx_sk(struct bfd_proto *p, ip_addr local, str Line 448  bfd_open_tx_sk(struct bfd_proto *p, ip_addr local, str
   sk->saddr = local;    sk->saddr = local;
   sk->dport = ifa ? BFD_CONTROL_PORT : BFD_MULTI_CTL_PORT;    sk->dport = ifa ? BFD_CONTROL_PORT : BFD_MULTI_CTL_PORT;
   sk->iface = ifa;    sk->iface = ifa;
     sk->vrf = p->p.vrf;
   sk->data = p;    sk->data = p;
   
   sk->tbsize = BFD_MAX_LEN;    sk->tbsize = BFD_MAX_LEN;

Removed from v.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>