Bug 589313

Summary: YAST2 DRBD breaks when saving sndbuf-size with a value
Product: [openSUSE] openSUSE 11.2 Reporter: Janaka Wickramasinghe <janaka>
Component: YaST2Assignee: Cong Meng <cmeng>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P3 - Medium    
Version: Final   
Target Milestone: ---   
Hardware: All   
OS: SLES 11   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: fixes the typo error

Description Janaka Wickramasinghe 2010-03-18 11:24:19 UTC
Created attachment 349153 [details]
fixes the typo error

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100204 SUSE/3.5.8-0.1.1 Firefox/3.5.8

when configuring drbd with yast and saving the resources advance configurations, "sndbuf-size", the configuration breaks.

It's a typo error "sndbuf-size" is saved as "ndbuf-size" in the drbd.conf

attaching the patch as well.

Reproducible: Always

Steps to Reproduce:
1.yast2 drbd
2.Resource Configuration --> edit resource --> Advance config --> in "net" section --> change sndbuf-size 
3. and save. Writes to drbd.conf as ndbuf-size
Actual Results:  
Writes to drbd.conf as ndbuf-size

Expected Results:  
Should writes to drbd.conf as sndbuf-size
Comment 1 Cong Meng 2010-03-24 08:48:11 UTC
fixed. close.