Summary: | net-misc/netifrc-0.5.0 - error when using netmask notation | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | asears |
Component: | netifrc | Assignee: | netifrc Team <netifrc> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | che, freestyler7, holger, lebarondemerde, proteuss, rdalek1967 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 598190 |
Description
asears
2016-10-25 13:29:19 UTC
I have the same bug. Downgrading to 0.4.0-r1 fixes static network for me. *** Bug 598156 has been marked as a duplicate of this bug. *** Workaround, worked for me: config_eth0="192.168.0.2/24" or config_eth0="192.168.0.2/24 brd 192.168.0.255" These options are also correct on Handbook (Interface handlers). Here's a quickfix before I get 0.5.1 out the door. net/iproute2.sh:136: - netmask="/$(_netmask2cidr "$1")" + netmask="$(_netmask2cidr "$1")" However I'd strongly recommend everybody start moving to just CIDR notation. (In reply to lebarondemerde from comment #3) > config_eth0="192.168.0.2/24 brd 192.168.0.255" That broadcast is the default implied value from the specified address, you don't need to specify it. 0.5.1 released with fix. |