union sockunion cie_nbma, cie_proto, *proto;
char buf[64];
int ok = 0, holdtime;
+ unsigned short mtu = 0;
nhrp_reqid_free(&nhrp_packet_reqid, &r->reqid);
|| (cie->code == NHRP_CODE_ADMINISTRATIVELY_PROHIBITED
&& nhs->hub)))
ok = 0;
+ mtu = ntohs(cie->mtu);
+ debugf(NHRP_DEBUG_COMMON, "NHS: CIE MTU: %d", mtu);
}
if (!ok)
c = nhrp_cache_get(ifp, &p->dst_proto, 1);
if (c)
nhrp_cache_update_binding(c, NHRP_CACHE_NHS, holdtime,
- nhrp_peer_ref(r->peer), 0, NULL);
+ nhrp_peer_ref(r->peer), mtu, NULL);
}
static int nhrp_reg_timeout(struct thread *t)