Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
contiki-ng
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
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
NATAF Emmanuel
contiki-ng
Commits
71ed11cd
Commit
71ed11cd
authored
7 years ago
by
Simon Duquennoy
Browse files
Options
Downloads
Patches
Plain Diff
Border router: removed unused variable 'prefix'
parent
50f06047
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
examples/rpl-border-router/common/border-router-common.c
+0
-2
0 additions, 2 deletions
examples/rpl-border-router/common/border-router-common.c
examples/rpl-border-router/common/border-router-common.h
+0
-1
0 additions, 1 deletion
examples/rpl-border-router/common/border-router-common.h
with
0 additions
and
3 deletions
examples/rpl-border-router/common/border-router-common.c
+
0
−
2
View file @
71ed11cd
...
@@ -39,7 +39,6 @@
...
@@ -39,7 +39,6 @@
#define LOG_MODULE "BR"
#define LOG_MODULE "BR"
#define LOG_LEVEL LOG_LEVEL_INFO
#define LOG_LEVEL LOG_LEVEL_INFO
uip_ipaddr_t
prefix
;
uint8_t
prefix_set
;
uint8_t
prefix_set
;
/*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/
...
@@ -64,7 +63,6 @@ void
...
@@ -64,7 +63,6 @@ void
void
void
set_prefix_64
(
uip_ipaddr_t
*
prefix_64
)
set_prefix_64
(
uip_ipaddr_t
*
prefix_64
)
{
{
memcpy
(
&
prefix
,
prefix_64
,
16
);
prefix_set
=
1
;
prefix_set
=
1
;
rpl_dag_root_init
(
prefix_64
,
NULL
);
rpl_dag_root_init
(
prefix_64
,
NULL
);
rpl_dag_root_init_dag_immediately
();
rpl_dag_root_init_dag_immediately
();
...
...
This diff is collapsed.
Click to expand it.
examples/rpl-border-router/common/border-router-common.h
+
0
−
1
View file @
71ed11cd
...
@@ -34,7 +34,6 @@
...
@@ -34,7 +34,6 @@
#include
"net/ipv6/uip.h"
#include
"net/ipv6/uip.h"
#include
"net/ipv6/uip-ds6.h"
#include
"net/ipv6/uip-ds6.h"
extern
uip_ipaddr_t
prefix
;
extern
uint8_t
prefix_set
;
extern
uint8_t
prefix_set
;
void
print_local_addresses
(
void
);
void
print_local_addresses
(
void
);
...
...
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