Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 474902 - bonding.sh – wrong logic when iterating parameters
Summary: bonding.sh – wrong logic when iterating parameters
Status: RESOLVED DUPLICATE of bug 447790
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: netifrc (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: netifrc Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-26 21:24 UTC by Beelzebubbie
Modified: 2013-08-28 16:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Beelzebubbie 2013-06-26 21:24:15 UTC
bonding.sh setting twice mode and miimon parameters because of condition error (line 93):

[ "${n}" != "mode" -o "${n}" != "miimon" ] || continue 

which obviously had to be:

[ "${n}" != "mode" -a "${n}" != "miimon" ] || continue 

seems this do not need a patch :)
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2013-08-28 16:18:28 UTC
This was already fixed in OpenRC commit e0bbe8d0bde82b14aa9a867707298c2040442151 per bug #447790

*** This bug has been marked as a duplicate of bug 447790 ***