Commit 62481701 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Move rfc6126_compatible into struct buffered.

parent b43a24fb
...@@ -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) {
......
...@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment