Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.1:Update
s390-tools
s390-tools-sles11sp2-qethconf-ipv6.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File s390-tools-sles11sp2-qethconf-ipv6.patch of Package s390-tools
Description: qethconf: fix/improve IPv6 address handling Symptom: An IPv6 address written in capital letters is not deleted Problem: qethconf search for exact match of the IPv6 address Solution: make the IPv6 search case insensitive. Problem-ID: 77967 --- qethconf/qethconf | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) --- a/qethconf/qethconf +++ b/qethconf/qethconf @@ -693,15 +693,15 @@ esac if [ "$2" = del ]; then case "$1" in - ipa ) if ! grep -sq "${echo_cmd_temp[1]}" $sys_fs_dir/ipa_takeover/add$ip_ver; then + ipa ) if ! grep -sqi "${echo_cmd_temp[1]}" $sys_fs_dir/ipa_takeover/add$ip_ver; then echo $script_name": no such $1 entry found." exit 0 fi;; - vipa ) if ! grep -sq "${echo_cmd_temp[1]}" $sys_fs_dir/$1/add$ip_ver; then + vipa ) if ! grep -sqi "${echo_cmd_temp[1]}" $sys_fs_dir/$1/add$ip_ver; then echo $script_name": no such $1 entry found." exit 0 fi;; - parp | rxip ) if ! grep -sq "${echo_cmd_temp[1]}" $sys_fs_dir/rxip/add$ip_ver; then + parp | rxip ) if ! grep -sqi "${echo_cmd_temp[1]}" $sys_fs_dir/rxip/add$ip_ver; then echo $script_name": no such $1 entry found." exit 0 fi;; @@ -742,12 +742,19 @@ case "$2" in echo "$script_name: For verification please use \"qethconf $message_cmd list\" " ;; - inv4 ) if [ "`cat $proc_file`" != 0 ]; then + inv4 | inv6 ) if [ "`cat $proc_file`" != 0 ]; then echo "$script_name: Negating the following IP address takeover settings:" - echo "`cat ${proc_file/invert4/add4}`" + if [ "$2" = inv4 ]; then + echo "`cat ${proc_file/invert4/add4}`" + else + echo "`cat ${proc_file/invert6/add6}`" + fi else echo "$script_name: The following IP address takeover settings are valid again:" - echo "`cat ${proc_file/invert4/add4}`" + if [ "$2" = inv4 ]; then + echo "`cat ${proc_file/invert4/add4}`" + else + echo "`cat ${proc_file/invert6/add6}`" + fi fi;; - inv6 ) echo "$script_name: any IPv6 address ranges are removed from IPA takeover mechanism.";; esac
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor