projects
/
librecmc
/
librecmc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f388f8
)
Fix ipv6 address assignment (#1622).
author
Eugene Konev
<ejka@imfi.kspu.ru>
Sun, 6 May 2007 16:52:46 +0000
(16:52 +0000)
committer
Eugene Konev
<ejka@imfi.kspu.ru>
Sun, 6 May 2007 16:52:46 +0000
(16:52 +0000)
SVN-Revision: 7116
package/base-files/files/lib/network/config.sh
patch
|
blob
|
history
diff --git
a/package/base-files/files/lib/network/config.sh
b/package/base-files/files/lib/network/config.sh
index 7e90368e26fc1e99eb2de6b99fdd8661b910564b..c5334cbd5d3e814699fd293679bc84da0f101af3 100755
(executable)
--- a/
package/base-files/files/lib/network/config.sh
+++ b/
package/base-files/files/lib/network/config.sh
@@
-152,7
+152,7
@@
setup_interface() {
config_get bcast "$config" broadcast
[ -z "$ipaddr" ] || $DEBUG ifconfig "$iface" "$ipaddr" netmask "$netmask"
- [ -z "$ip6addr" ] || $DEBUG ifconfig "$iface"
inet6 add "$ip6addr"
+ [ -z "$ip6addr" ] || $DEBUG ifconfig "$iface"
add "$ip6addr"
[ -z "$gateway" ] || $DEBUG route add default gw "$gateway"
[ -z "$bcast" ] || $DEBUG ifconfig "$iface" broadcast "$bcast"
[ -z "$dns" -o -f /tmp/resolv.conf.auto ] || {