diff options
| author | Gleb Smirnoff <glebius@FreeBSD.org> | 2015-04-01 22:26:39 +0000 |
|---|---|---|
| committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2015-04-01 22:26:39 +0000 |
| commit | 6d947416cc02a93c63479eed545059577446814c (patch) | |
| tree | 8b00e7a494687331ff2fc1bd6aa72facdfb91310 /sys/netipsec | |
| parent | 703e4974aa45d77a4d683b07a2c8392c546703ca (diff) | |
Notes
Diffstat (limited to 'sys/netipsec')
| -rw-r--r-- | sys/netipsec/xform_ipip.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/netipsec/xform_ipip.c b/sys/netipsec/xform_ipip.c index 5167b9661b9c..fc6c4a132633 100644 --- a/sys/netipsec/xform_ipip.c +++ b/sys/netipsec/xform_ipip.c @@ -136,9 +136,6 @@ ipip_output(struct mbuf *m, struct ipsecrequest *isr, struct mbuf **mp, ipo->ip_sum = 0; ipo->ip_src = saidx->src.sin.sin_addr; ipo->ip_dst = saidx->dst.sin.sin_addr; - - ipo->ip_id = ip_newid(); - /* If the inner protocol is IP... */ switch (tp) { case IPVERSION: @@ -178,6 +175,7 @@ ipip_output(struct mbuf *m, struct ipsecrequest *isr, struct mbuf **mp, default: goto nofamily; } + ip_fillid(ipo); otos = 0; ip_ecn_ingress(ECN_ALLOWED, &otos, &itos); |
