Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
iopsys
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
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue 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
Feed
iopsys
Commits
995bcec1
Commit
995bcec1
authored
2 years ago
by
Omar Kallel
Browse files
Options
Downloads
Patches
Plain Diff
icwmp: dual stack
parent
e0534180
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
icwmp/Makefile
+1
-1
1 addition, 1 deletion
icwmp/Makefile
icwmp/files/etc/config/cwmp
+1
-2
1 addition, 2 deletions
icwmp/files/etc/config/cwmp
icwmp/files/etc/init.d/icwmpd
+5
-2
5 additions, 2 deletions
icwmp/files/etc/init.d/icwmpd
with
7 additions
and
5 deletions
icwmp/Makefile
+
1
−
1
View file @
995bcec1
...
@@ -12,7 +12,7 @@ PKG_VERSION:=9.1.21
...
@@ -12,7 +12,7 @@ PKG_VERSION:=9.1.21
PKG_SOURCE_PROTO
:=
git
PKG_SOURCE_PROTO
:=
git
PKG_SOURCE_URL
:=
https://dev.iopsys.eu/iopsys/icwmp.git
PKG_SOURCE_URL
:=
https://dev.iopsys.eu/iopsys/icwmp.git
PKG_SOURCE_VERSION
:=
6cee3b2fde788bafa286f556fd58d0265ec342e2
PKG_SOURCE_VERSION
:=
39513ff90b1a0f0750819b1b72e472ae9f4ce979
PKG_SOURCE
:=
$(
PKG_NAME
)
-
$(
PKG_VERSION
)
-
$(
PKG_SOURCE_VERSION
)
.tar.gz
PKG_SOURCE
:=
$(
PKG_NAME
)
-
$(
PKG_VERSION
)
-
$(
PKG_SOURCE_VERSION
)
.tar.gz
PKG_MIRROR_HASH
:=
skip
PKG_MIRROR_HASH
:=
skip
...
...
This diff is collapsed.
Click to expand it.
icwmp/files/etc/config/cwmp
+
1
−
2
View file @
995bcec1
...
@@ -11,12 +11,11 @@ config acs 'acs'
...
@@ -11,12 +11,11 @@ config acs 'acs'
option retry_min_wait_interval '5'
option retry_min_wait_interval '5'
# possible configs interval :[1000:65535]
# possible configs interval :[1000:65535]
option retry_interval_multiplier '2000'
option retry_interval_multiplier '2000'
option ipv6_enable '0'
option ip_version '4'
config cpe 'cpe'
config cpe 'cpe'
option enable '1'
option enable '1'
option default_wan_interface 'wan'
option default_wan_interface 'wan'
option default_wan6_interface 'wan6'
option default_lan_interface 'lan'
option default_lan_interface 'lan'
option log_to_console 'disable'
option log_to_console 'disable'
option log_to_file 'disable'
option log_to_file 'disable'
...
...
This diff is collapsed.
Click to expand it.
icwmp/files/etc/init.d/icwmpd
+
5
−
2
View file @
995bcec1
...
@@ -320,7 +320,6 @@ validate_acs_section()
...
@@ -320,7 +320,6 @@ validate_acs_section()
'compression:or("GZIP","Deflate","Disabled")'
\
'compression:or("GZIP","Deflate","Disabled")'
\
'retry_min_wait_interval:range(1, 65535)'
\
'retry_min_wait_interval:range(1, 65535)'
\
'retry_interval_multiplier:range(1000, 65535)'
\
'retry_interval_multiplier:range(1000, 65535)'
\
'ipv6_enable:bool'
\
'ssl_capath:string'
'ssl_capath:string'
}
}
...
@@ -330,6 +329,7 @@ validate_cpe_section()
...
@@ -330,6 +329,7 @@ validate_cpe_section()
uci_validate_section cwmp cpe
"cpe"
\
uci_validate_section cwmp cpe
"cpe"
\
'interface:string'
\
'interface:string'
\
'default_wan_interface:string'
\
'default_wan_interface:string'
\
'default_wan6_interface:string'
\
'log_to_console:or("enable","disable")'
\
'log_to_console:or("enable","disable")'
\
'log_to_file:or("enable","disable")'
\
'log_to_file:or("enable","disable")'
\
'log_severity:or("EMERG", "ALERT", "CRITIC" ,"ERROR", "WARNING", "NOTICE", "INFO", "DEBUG")'
\
'log_severity:or("EMERG", "ALERT", "CRITIC" ,"ERROR", "WARNING", "NOTICE", "INFO", "DEBUG")'
\
...
@@ -382,12 +382,15 @@ boot() {
...
@@ -382,12 +382,15 @@ boot() {
config_load cwmp
config_load cwmp
config_get_bool enable_cwmp cpe
enable
1
config_get_bool enable_cwmp cpe
enable
1
local
wan_interface
=
""
config_get wan_interface cpe default_wan_interface
"wan"
if
[
"
$enable_cwmp
"
=
"0"
]
;
then
if
[
"
$enable_cwmp
"
=
"0"
]
;
then
return
0
return
0
fi
fi
config_get dhcp_discovery acs dhcp_discovery
"0"
config_get dhcp_discovery acs dhcp_discovery
"0"
config_get wan_interface cpe default_wan_interface
"wan"
if
[
"
${
dhcp_discovery
}
"
=
"enable"
]
||
[
"
${
dhcp_discovery
}
"
=
"1"
]
;
then
if
[
"
${
dhcp_discovery
}
"
=
"enable"
]
||
[
"
${
dhcp_discovery
}
"
=
"1"
]
;
then
# Set dhcp option 43 if not already configured
# Set dhcp option 43 if not already configured
...
...
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