diff options
| author | Gaurav Goyal <gaurav.goyal@4rf.com> | 2021-03-11 15:59:41 +1300 |
|---|---|---|
| committer | Reuben Dowle <reuben.dowle@4rf.com> | 2021-03-18 16:35:41 +1300 |
| commit | bb58f4425920cec76196e467403bb084e3a14e76 (patch) | |
| tree | 5bc1bb4888a8960017a489015d6eb3049bc73503 /nhrpd/nhrp_cache.c | |
| parent | d5dc926f18eb9a25b2e188e3cf6e4d7b76b15bcc (diff) | |
nhrpd: Process NAT extension properly, and also fallback to IPSec NAT info
Signed-off-by: Reuben Dowle <reuben.dowle@4rf.com>
Diffstat (limited to 'nhrpd/nhrp_cache.c')
| -rw-r--r-- | nhrpd/nhrp_cache.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nhrpd/nhrp_cache.c b/nhrpd/nhrp_cache.c index cb298b1a09..259e58e258 100644 --- a/nhrpd/nhrp_cache.c +++ b/nhrpd/nhrp_cache.c @@ -474,6 +474,7 @@ int nhrp_cache_update_binding(struct nhrp_cache *c, enum nhrp_cache_type type, c->new.type = type; c->new.peer = p; c->new.mtu = mtu; + c->new.holding_time = holding_time; if (nbma_oa) c->new.remote_nbma_natoa = *nbma_oa; |
