Bug 766217

Summary: Cannot add IPv6 routes in YaST: 'Gateway IP address is invalid'
Product: [openSUSE] openSUSE 12.1 Reporter: Iakov Karpov <srid>
Component: YaST2Assignee: Michal Filka <mfilka>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: mvidner
Version: Final   
Target Milestone: ---   
Hardware: i686   
OS: openSUSE 12.1   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: YaST log

Description Iakov Karpov 2012-06-08 18:11:36 UTC
User-Agent:       Opera/9.80 (X11; Linux x86_64; U; ru) Presto/2.10.229 Version/11.64

It is impossible to add IPv6 routes using YaST, because it does not understand IPv6 address format. Instead of adding a route, YaST show you a 'Gateway IP address is invalid' error message. 

Reproducible in ncurces and Qt fontends.

Reproducible: Always

Steps to Reproduce:
1. run YaST
2. go to Network Devices -> Network Settings -> Routing
3. try to add an IPv6 route
Comment 1 Kun Kun Zhang 2012-06-11 03:10:44 UTC
Hi,thank you for your report.could you please help to provide y2logs according to the following URL?Thank you:)
http://en.opensuse.org/openSUSE:Bugreport_YaST
Comment 2 Iakov Karpov 2012-06-11 08:30:57 UTC
Created attachment 494286 [details]
YaST log

Sorry, this is my bad. :( I've left "genmask" and "gateway" empty, but I should to put "-" there. Now everything works. But maybe we need to add "-" automatically to empty fields?
Comment 3 Michal Filka 2012-08-01 12:22:29 UTC
I've added '-' as a default in yast2-network v2.24.2

submitted into factory.
Comment 4 Michal Filka 2012-08-01 12:23:30 UTC
commit 03bc2765e01b0828ecc964a3386afeaa14eee934
Comment 5 Bernhard Wiedemann 2012-08-01 13:00:10 UTC
This is an autogenerated message for OBS integration:
This bug (766217) was mentioned in
https://build.opensuse.org/request/show/129554 Factory / yast2-network