make gre_encap prepend both the gre and tunnel ip headers.
authordlg <dlg@openbsd.org>
Fri, 16 Feb 2018 06:26:10 +0000 (06:26 +0000)
committerdlg <dlg@openbsd.org>
Fri, 16 Feb 2018 06:26:10 +0000 (06:26 +0000)
commitf0dc8885292574794f0ec0fe2e36a8eb1bad938a
tree7bc76ee23c7a89ef3bf62964ed48fbaf670b3648
parenteac342a1aa4fcedd309607896bd94166914a21b4
make gre_encap prepend both the gre and tunnel ip headers.

makes the code a bit more straightforward
sys/net/if_gre.c