diff options
| author | Jan Macku <jamacku@redhat.com> | 2019-10-30 08:33:45 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-30 08:33:45 +0100 |
| commit | 98af69a625d583eb0caf1f9b26f698e852e0eab9 (patch) | |
| tree | b896322d65b2d39c2292ab813fc808f087763d90 /network-scripts | |
| parent | d93f8f6f0a57305231a702c9ddd50fc409144e5e (diff) | |
| download | initscripts-98af69a625d583eb0caf1f9b26f698e852e0eab9.tar initscripts-98af69a625d583eb0caf1f9b26f698e852e0eab9.tar.gz initscripts-98af69a625d583eb0caf1f9b26f698e852e0eab9.tar.bz2 initscripts-98af69a625d583eb0caf1f9b26f698e852e0eab9.tar.xz initscripts-98af69a625d583eb0caf1f9b26f698e852e0eab9.zip | |
Add ip6gre tunnel option
Resolve: rhbz#1743251
Diffstat (limited to 'network-scripts')
| -rwxr-xr-x | network-scripts/ifup-tunnel | 5 | ||||
| -rw-r--r-- | network-scripts/network-functions | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/network-scripts/ifup-tunnel b/network-scripts/ifup-tunnel index afdfe928..ea85df52 100755 --- a/network-scripts/ifup-tunnel +++ b/network-scripts/ifup-tunnel @@ -42,6 +42,11 @@ GRE) proto=-4 /sbin/modprobe ip_gre ;; +GRE6) + MODE=ip6gre + proto=-6 + /sbin/modprobe ip6_gre + ;; IPIP) MODE=ipip proto=-4 diff --git a/network-scripts/network-functions b/network-scripts/network-functions index a2382e33..614ad490 100644 --- a/network-scripts/network-functions +++ b/network-scripts/network-functions @@ -146,7 +146,7 @@ source_config () CTC) DEVICETYPE="ctc" ;; - GRE | IPIP | IPIP6) + GRE | GRE6 | IPIP | IPIP6) DEVICETYPE="tunnel" ;; SIT | sit) |
