Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 341008 Details for
Bug 460268
sys-apps/openrc: convert hex netmasks to decimal for freebsd
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
sample patch for openrc-0.11.8
openrc-0.11.8-fbsd-netmaskfix.patch (text/plain), 410 bytes, created by
Yuta SATOH
on 2013-03-05 10:57:10 UTC
(
hide
)
Description:
sample patch for openrc-0.11.8
Filename:
MIME Type:
Creator:
Yuta SATOH
Created:
2013-03-05 10:57:10 UTC
Size:
410 bytes
patch
obsolete
>diff -Nur openrc-0.11.8.orig/init.d/net.lo.in openrc-0.11.8/init.d/net.lo.in >--- openrc-0.11.8.orig/init.d/net.lo.in 2012-12-08 00:53:28.000000000 +0900 >+++ openrc-0.11.8/init.d/net.lo.in 2013-03-05 00:23:50.000000000 +0900 >@@ -151,6 +151,9 @@ > local i= len= > local IFS=. > for i in $1; do >+ case $i in >+ 0x*) i=$((i)) ;; >+ esac > while [ ${i} -ne 0 ]; do > : $(( len += i % 2 )) > : $(( i >>= 1 ))
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 460268
: 341008