File s390-tools-sles11sp2-lsqeth-new-attribute-hsuid.patch of Package s390-tools

Description: lsqeth: add hsuid attribute
Symptom:     no display of hsuid attribute in lsqeth output
Problem:     Attribute hsuid has been introduced when adding support for
             af_iucv HiperSockets transport to qeth. It should be
             displayed in lsqeth output.
Solution:    Add hsuid to output_array
Problem-ID:  75148
---
 zconf/lsqeth |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

--- a/zconf/lsqeth
+++ b/zconf/lsqeth
@@ -3,7 +3,7 @@
 #  File...........: lsqeth
 #  Author(s)......: Steffen Thoss	<thoss@de.ibm.com>
 #  		    Peter Tiedemann	<ptiedem@de.ibm.com>
-#  Copyright IBM Corp. 2004, 2009
+#  Copyright IBM Corp. 2004, 2011
 # 
 #  History of changes:
 # 
@@ -64,6 +64,7 @@ output_array=( if_name 
 	       layer2 
 	       large_send
 	       isolation
+	       hsuid
 	       sniffer )
 # Array for sysfs values
 sysfs_entries=( "sw checksumming" "hw checksumming" "no checksumming"
@@ -88,7 +89,7 @@ parp_array=0
 function PrintVersion
 {
         echo "$script_name: version %S390_TOOLS_VERSION%" 
-	echo "Copyright IBM Corp. 2003, 2009"
+	echo "Copyright IBM Corp. 2003, 2011"
 }
 
 
@@ -111,7 +112,7 @@ function __no_such_parameter
 {
    echo "$script_name: wrong parameter $1"
    __usage
-   exit 1
+   exit 0
 }
 #
 # function for printing the usage message
@@ -123,7 +124,7 @@ function __usage
     printf '                %s\n\n' "The shell script list all QETH based networking devices."
     printf '                %s\n\n' "-p | --proc: list all devices in /proc/qeth format"
     printf '  %s\n' "<INTERFACE>:  List only attributes of specified interface."
-    exit 1
+    exit 0
 }
 
 #
@@ -149,7 +150,7 @@ if [ "$#" -ne 0 ]; then
 				  fi
 			  fi;;
 		-v | --version ) PrintVersion
-				 exit 1;;
+				 exit 0;;
 		-*	) echo "$script_name: Invalid option $1"
 			__exit_on_error;;
 	 	*	) format=0
@@ -323,7 +324,7 @@ function __layer2_print
 {
 	del_layer2=( route4 route6 large_send
 		     fake_ll fake_broadcast
-		     checksumming sniffer )
+		     checksumming hsuid sniffer )
 
 	for l in ${del_layer2[@]}
  		do