Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openwrt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Freifunk Luebeck
openwrt
Commits
e2193a69
Commit
e2193a69
authored
12 years ago
by
Steven Barth
Browse files
Options
Downloads
Patches
Plain Diff
odhcp6c: allow IPv6-config via SLAAC-only if no prefix is requested
SVN-Revision: 35421
parent
6a434379
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
package/network/ipv6/odhcp6c/Makefile
+2
-2
2 additions, 2 deletions
package/network/ipv6/odhcp6c/Makefile
package/network/ipv6/odhcp6c/files/dhcpv6.sh
+4
-4
4 additions, 4 deletions
package/network/ipv6/odhcp6c/files/dhcpv6.sh
with
6 additions
and
6 deletions
package/network/ipv6/odhcp6c/Makefile
+
2
−
2
View file @
e2193a69
...
...
@@ -8,14 +8,14 @@
include
$(TOPDIR)/rules.mk
PKG_NAME
:=
odhcp6c
PKG_VERSION
:=
2013-02-01
PKG_VERSION
:=
2013-02-01
.1
PKG_RELEASE
=
$(
PKG_SOURCE_VERSION
)
PKG_SOURCE
:=
$(
PKG_NAME
)
-
$(
PKG_VERSION
)
.tar.bz2
PKG_SOURCE_SUBDIR
:=
$(
PKG_NAME
)
-
$(
PKG_VERSION
)
PKG_SOURCE_URL
:=
git://github.com/sbyx/odhcp6c.git
PKG_SOURCE_PROTO
:=
git
PKG_SOURCE_VERSION
:=
7b3e29a4ff20f1b1e91fa65b5a0631462dbee06d
PKG_SOURCE_VERSION
:=
6016539b9b73f3dc45b3df92554fca1b5d6431b7
PKG_MAINTAINER
:=
Steven Barth <steven@midlink.org>
include
$(INCLUDE_DIR)/package.mk
...
...
This diff is collapsed.
Click to expand it.
package/network/ipv6/odhcp6c/files/dhcpv6.sh
+
4
−
4
View file @
e2193a69
...
...
@@ -9,15 +9,15 @@ proto_dhcpv6_init_config() {
proto_config_add_string
"reqprefix"
proto_config_add_string
"clientid"
proto_config_add_string
"reqopts"
proto_config_add_string
"
allow_
slaaconly"
proto_config_add_string
"
no
slaaconly"
}
proto_dhcpv6_setup
()
{
local
config
=
"
$1
"
local
iface
=
"
$2
"
local
reqaddress reqprefix clientid reqopts
allow_
slaaconly
json_get_vars reqaddress reqprefix clientid reqopts
allow_
slaaconly
local
reqaddress reqprefix clientid reqopts
no
slaaconly
json_get_vars reqaddress reqprefix clientid reqopts
no
slaaconly
# Configure
...
...
@@ -29,7 +29,7 @@ proto_dhcpv6_setup() {
[
-n
"
$clientid
"
]
&&
append opts
"-c
$clientid
"
[
"
$
allow_
slaaconly
"
=
"1"
]
&&
append opts
"-S"
[
"
$
no
slaaconly
"
=
"1"
]
&&
append opts
"-S"
for
opt
in
$reqopts
;
do
append opts
"-r
$opt
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment