diff options
| author | Amol Lad <amol.lad@4rf.com> | 2021-02-24 15:06:00 +0530 | 
|---|---|---|
| committer | Reuben Dowle <reuben.dowle@4rf.com> | 2021-03-18 16:35:41 +1300 | 
| commit | 1e52c95464172df774bf75dbcd3d7f1d8b6e09cb (patch) | |
| tree | f99ed06de957a76ae41846f0f2c311347c3f6ad1 /nhrpd/nhrp_packet.c | |
| parent | 999a07f0d424e0a4189a1412a585206d4d937cc5 (diff) | |
nhrpd: Set correct MTU in NHRP extensions
Signed-off-by: Reuben Dowle <reuben.dowle@4rf.com>
Diffstat (limited to 'nhrpd/nhrp_packet.c')
| -rw-r--r-- | nhrpd/nhrp_packet.c | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/nhrpd/nhrp_packet.c b/nhrpd/nhrp_packet.c index a983aa71bc..fd77533c89 100644 --- a/nhrpd/nhrp_packet.c +++ b/nhrpd/nhrp_packet.c @@ -268,6 +268,7 @@ int nhrp_ext_reply(struct zbuf *zb, struct nhrp_packet_header *hdr,  				    &ad->addr);  		if (!cie)  			goto err; +		cie->mtu = htons(ad->mtu);  		cie->holding_time = htons(ad->holdtime);  		break;  	default:  | 
