Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
ffbs-gluon
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
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
darkbit
ffbs-gluon
Commits
b281e3a6
Commit
b281e3a6
authored
6 years ago
by
Kasalehlia
Committed by
chrissi^
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
radvd: use range from /tmp/range6 instead of site
parent
f7f9bf37
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
package/gluon-mesh-batman-adv/luasrc/lib/gluon/radvd/arguments
+8
-3
8 additions, 3 deletions
...ge/gluon-mesh-batman-adv/luasrc/lib/gluon/radvd/arguments
with
8 additions
and
3 deletions
package/gluon-mesh-batman-adv/luasrc/lib/gluon/radvd/arguments
+
8
−
3
View file @
b281e3a6
...
...
@@ -2,8 +2,13 @@
local
site
=
require
"gluon.site"
io.write
(
"-i local-node -p "
..
site
.
prefix6
())
local
f
=
io.open
(
"/tmp/range6"
,
"r"
)
if
f
then
local
range6
=
f
:
read
(
'*a'
)
f
:
close
()
io.write
(
"-i local-node -p "
..
range6
)
if
site
.
dns
.
servers
()
and
site
.
next_node
.
ip6
()
then
io.write
(
" --rdnss "
..
site
.
next_node
.
ip6
())
if
site
.
dns
.
servers
()
and
site
.
next_node
.
ip6
()
then
io.write
(
" --rdnss "
..
site
.
next_node
.
ip6
())
end
end
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