Revision f4a60a9b proto/bfd/bfd.c

View differences:

proto/bfd/bfd.c
952 952
static struct proto *
953 953
bfd_init(struct proto_config *c)
954 954
{
955
  struct proto *p = proto_new(c, sizeof(struct bfd_proto));
955
  struct proto *p = proto_new(c);
956 956

  
957 957
  p->neigh_notify = bfd_neigh_notify;
958 958

  
......
1118 1118
struct protocol proto_bfd = {
1119 1119
  .name =		"BFD",
1120 1120
  .template =		"bfd%d",
1121
  .proto_size =		sizeof(struct bfd_proto),
1121 1122
  .config_size =	sizeof(struct bfd_config),
1122 1123
  .init =		bfd_init,
1123 1124
  .start =		bfd_start,

Also available in: Unified diff