summaryrefslogtreecommitdiff
path: root/templates/interfaces
diff options
context:
space:
mode:
Diffstat (limited to 'templates/interfaces')
-rw-r--r--templates/interfaces/ethernet/node.tag/offload/generic-receive-offload/node.def6
-rw-r--r--templates/interfaces/ethernet/node.tag/offload/generic-segmentation-offload/node.def6
-rw-r--r--templates/interfaces/ethernet/node.tag/offload/tcp-segmentation-offload/node.def7
-rw-r--r--templates/interfaces/ethernet/node.tag/offload/udp-segmentation-offload/node.def6
4 files changed, 4 insertions, 21 deletions
diff --git a/templates/interfaces/ethernet/node.tag/offload/generic-receive-offload/node.def b/templates/interfaces/ethernet/node.tag/offload/generic-receive-offload/node.def
index 411565ab..4970f2de 100644
--- a/templates/interfaces/ethernet/node.tag/offload/generic-receive-offload/node.def
+++ b/templates/interfaces/ethernet/node.tag/offload/generic-receive-offload/node.def
@@ -12,10 +12,6 @@ val_help: off; Disable generic-receive-offload
syntax:expression: $VAR(@) == "on" || $VAR(@) == "off" ; "$type must be either 'on' or 'off'"
-update: sudo /opt/vyatta/sbin/vyatta-interfaces.pl --dev=$VAR(../../@) \
- --offload-settings $VAR(../tcp-segmentation-offload/@) \
- $VAR(../udp-segmentation-offload/@) \
- $VAR(../generic-segmentation-offload/@) \
- $VAR(@)
+update: sudo /opt/vyatta/sbin/vyatta-interfaces.pl --dev=$VAR(../../@) --offload-settings generic-receive-offload $VAR(@)
diff --git a/templates/interfaces/ethernet/node.tag/offload/generic-segmentation-offload/node.def b/templates/interfaces/ethernet/node.tag/offload/generic-segmentation-offload/node.def
index 91b1ecf9..727d91ff 100644
--- a/templates/interfaces/ethernet/node.tag/offload/generic-segmentation-offload/node.def
+++ b/templates/interfaces/ethernet/node.tag/offload/generic-segmentation-offload/node.def
@@ -12,10 +12,6 @@ val_help: off; Disable generic-segmentation-offload
syntax:expression: $VAR(@) == "on" || $VAR(@) == "off" ; "$type must be either 'on' or 'off'"
-update: sudo /opt/vyatta/sbin/vyatta-interfaces.pl --dev=$VAR(../../@) \
- --offload-settings $VAR(../tcp-segmentation-offload/@) \
- $VAR(../udp-segmentation-offload/@) \
- $VAR(@) \
- $VAR(../generic-receive-offload/@)
+update: sudo /opt/vyatta/sbin/vyatta-interfaces.pl --dev=$VAR(../../@) --offload-settings generic-segmentation-offload $VAR(@)
diff --git a/templates/interfaces/ethernet/node.tag/offload/tcp-segmentation-offload/node.def b/templates/interfaces/ethernet/node.tag/offload/tcp-segmentation-offload/node.def
index 641c2c8b..4046139c 100644
--- a/templates/interfaces/ethernet/node.tag/offload/tcp-segmentation-offload/node.def
+++ b/templates/interfaces/ethernet/node.tag/offload/tcp-segmentation-offload/node.def
@@ -12,10 +12,5 @@ val_help: off; Disable tcp-segmentation-offload
syntax:expression: $VAR(@) == "on" || $VAR(@) == "off" ; "$type must be either 'on' or 'off'"
-update: sudo /opt/vyatta/sbin/vyatta-interfaces.pl --dev=$VAR(../../@) \
- --offload-settings $VAR(@) \
- $VAR(../udp-segmentation-offload/@) \
- $VAR(../generic-segmentation-offload/@) \
- $VAR(../generic-receive-offload/@)
-
+update: sudo /opt/vyatta/sbin/vyatta-interfaces.pl --dev=$VAR(../../@) --offload-settings tcp-segmentation-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
index d96b4be5..86a7abe1 100644
--- a/templates/interfaces/ethernet/node.tag/offload/udp-segmentation-offload/node.def
+++ b/templates/interfaces/ethernet/node.tag/offload/udp-segmentation-offload/node.def
@@ -12,10 +12,6 @@ val_help: off; Disable udp-segmentation-offload
syntax:expression: $VAR(@) == "on" || $VAR(@) == "off" ; "$type must be either 'on' or 'off'"
-update: sudo /opt/vyatta/sbin/vyatta-interfaces.pl --dev=$VAR(../../@) \
- --offload-settings $VAR(../tcp-segmentation-offload/@) \
- $VAR(@) \
- $VAR(../generic-segmentation-offload/@) \
- $VAR(../generic-receive-offload/@)
+update: sudo /opt/vyatta/sbin/vyatta-interfaces.pl --dev=$VAR(../../@) --offload-settings udp-segmentation-offload $VAR(@)