summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Hendry <jhendry@mintel.com>2014-10-29 20:19:53 +0000
committerDaniil Baturin <daniil@baturin.org>2017-09-14 13:37:20 +0200
commit3719eee6a1db465412fd6c2e104fcf6c37728d63 (patch)
treeb91fd1c5162e2aacda03c8a625e0d4c355b8c6ef
parent4b00dd03890d7c378b1c53f0a9edc26e3fcc9102 (diff)
downloadvyatta-cfg-system-3719eee6a1db465412fd6c2e104fcf6c37728d63.tar.gz
vyatta-cfg-system-3719eee6a1db465412fd6c2e104fcf6c37728d63.zip
Correcting udp offload option name form segmentation to fragmentation
-rwxr-xr-xscripts/vyatta-interfaces.pl2
-rw-r--r--templates/interfaces/ethernet/node.tag/offload/udp-fragmentation-offload/node.def (renamed from templates/interfaces/ethernet/node.tag/offload/udp-segmentation-offload/node.def)8
2 files changed, 5 insertions, 5 deletions
diff --git a/scripts/vyatta-interfaces.pl b/scripts/vyatta-interfaces.pl
index 9271e871..b602dda6 100755
--- a/scripts/vyatta-interfaces.pl
+++ b/scripts/vyatta-interfaces.pl
@@ -600,7 +600,7 @@ sub set_offload_setting {
my %ethtool_opts = ( 'generic-receive-offload' => 'gro',
'generic-segmentation-offload' => 'gso',
'tcp-segmentation-offload' => 'tso',
- 'udp-segmentation-offload' => 'ufo',
+ 'udp-fragmentation-offload' => 'ufo',
);
if (defined($nvalue) && $nvalue ne $ovalue) {
diff --git a/templates/interfaces/ethernet/node.tag/offload/udp-segmentation-offload/node.def b/templates/interfaces/ethernet/node.tag/offload/udp-fragmentation-offload/node.def
index 8c263af9..796c791d 100644
--- a/templates/interfaces/ethernet/node.tag/offload/udp-segmentation-offload/node.def
+++ b/templates/interfaces/ethernet/node.tag/offload/udp-fragmentation-offload/node.def
@@ -5,12 +5,12 @@
priority: 319 # Failure barrier only - no ordering constraints
type: txt
-help: Configure udp-segmentation-offload option
-val_help: on; Enable udp-segmentation-offload
-val_help: off; Disable udp-segmentation-offload
+help: Configure udp-fragmentation-offload option
+val_help: on; Enable udp-fragmentation-offload
+val_help: off; Disable udp-fragmentation-offload
syntax:expression: $VAR(@) == "on" || $VAR(@) == "off" ; "Must be either 'on' or 'off'"
-update: sudo /opt/vyatta/sbin/vyatta-interfaces.pl --dev=$VAR(../../@) --offload-settings udp-segmentation-offload $VAR(@)
+update: sudo /opt/vyatta/sbin/vyatta-interfaces.pl --dev=$VAR(../../@) --offload-settings udp-fragmentation-offload $VAR(@)