Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
babeld
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
babeld
Commits
62481701
Commit
62481701
authored
Oct 23, 2018
by
Juliusz Chroboczek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move rfc6126_compatible into struct buffered.
parent
b43a24fb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
interface.c
interface.c
+1
-4
interface.h
interface.h
+1
-2
No files found.
interface.c
View file @
62481701
...
@@ -445,10 +445,7 @@ interface_up(struct interface *ifp, int up)
...
@@ -445,10 +445,7 @@ interface_up(struct interface *ifp, int up)
"but timestamps are disabled on interface %s.
\n
"
,
"but timestamps are disabled on interface %s.
\n
"
,
ifp
->
name
);
ifp
->
name
);
if
(
IF_CONF
(
ifp
,
rfc6126
)
==
CONFIG_YES
)
ifp
->
buf
.
rfc6126_compatible
=
(
IF_CONF
(
ifp
,
rfc6126
)
==
CONFIG_YES
);
ifp
->
flags
|=
IF_RFC6126
;
else
ifp
->
flags
&=
~
IF_RFC6126
;
rc
=
check_link_local_addresses
(
ifp
);
rc
=
check_link_local_addresses
(
ifp
);
if
(
rc
<
0
)
{
if
(
rc
<
0
)
{
...
...
interface.h
View file @
62481701
...
@@ -72,8 +72,6 @@ struct interface_conf {
...
@@ -72,8 +72,6 @@ struct interface_conf {
#define IF_FARAWAY (1 << 4)
#define IF_FARAWAY (1 << 4)
/* Send most TLVs over unicast. */
/* Send most TLVs over unicast. */
#define IF_UNICAST (1 << 5)
#define IF_UNICAST (1 << 5)
/* Remain compatible with RFC 6126. */
#define IF_RFC6126 (1 << 6)
/* Only INTERFERING can appear on the wire. */
/* Only INTERFERING can appear on the wire. */
#define IF_CHANNEL_UNKNOWN 0
#define IF_CHANNEL_UNKNOWN 0
...
@@ -88,6 +86,7 @@ struct buffered {
...
@@ -88,6 +86,7 @@ struct buffered {
int
flush_interval
;
int
flush_interval
;
struct
timeval
timeout
;
struct
timeval
timeout
;
char
enable_timestamps
;
char
enable_timestamps
;
char
rfc6126_compatible
;
char
have_id
;
char
have_id
;
char
have_nh
;
char
have_nh
;
char
have_prefix
;
char
have_prefix
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment