From 3719eee6a1db465412fd6c2e104fcf6c37728d63 Mon Sep 17 00:00:00 2001 From: Jason Hendry Date: Wed, 29 Oct 2014 20:19:53 +0000 Subject: Correcting udp offload option name form segmentation to fragmentation --- .../node.tag/offload/udp-fragmentation-offload/node.def | 16 ++++++++++++++++ .../node.tag/offload/udp-segmentation-offload/node.def | 16 ---------------- 2 files changed, 16 insertions(+), 16 deletions(-) create mode 100644 templates/interfaces/ethernet/node.tag/offload/udp-fragmentation-offload/node.def delete mode 100644 templates/interfaces/ethernet/node.tag/offload/udp-segmentation-offload/node.def (limited to 'templates') diff --git a/templates/interfaces/ethernet/node.tag/offload/udp-fragmentation-offload/node.def b/templates/interfaces/ethernet/node.tag/offload/udp-fragmentation-offload/node.def new file mode 100644 index 00000000..796c791d --- /dev/null +++ b/templates/interfaces/ethernet/node.tag/offload/udp-fragmentation-offload/node.def @@ -0,0 +1,16 @@ +# +# Configuration template for offload settings +# + +priority: 319 # Failure barrier only - no ordering constraints + +type: txt +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-fragmentation-offload $VAR(@) + + diff --git a/templates/interfaces/ethernet/node.tag/offload/udp-segmentation-offload/node.def b/templates/interfaces/ethernet/node.tag/offload/udp-segmentation-offload/node.def deleted file mode 100644 index 8c263af9..00000000 --- a/templates/interfaces/ethernet/node.tag/offload/udp-segmentation-offload/node.def +++ /dev/null @@ -1,16 +0,0 @@ -# -# Configuration template for offload settings -# - -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 - -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(@) - - -- cgit v1.2.3