Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
labs
BIRD Internet Routing Daemon
Commits
36f2caf1
Commit
36f2caf1
authored
Oct 19, 1998
by
Martin Mareš
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed generation of device routes for unnumbered point-to-point links.
parent
f184ea6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
nest/rt-dev.c
nest/rt-dev.c
+4
-1
No files found.
nest/rt-dev.c
View file @
36f2caf1
...
...
@@ -48,7 +48,10 @@ dev_if_notify(struct proto *p, unsigned c, struct iface *old, struct iface *new)
A
.
iface
=
new
;
A
.
attrs
=
NULL
;
a
=
rta_lookup
(
&
A
);
n
=
net_get
(
&
master_table
,
0
,
new
->
prefix
,
new
->
pxlen
);
if
(
new
->
flags
&
IF_UNNUMBERED
)
n
=
net_get
(
&
master_table
,
0
,
new
->
opposite
,
new
->
pxlen
);
else
n
=
net_get
(
&
master_table
,
0
,
new
->
prefix
,
new
->
pxlen
);
e
=
rte_get_temp
(
a
);
e
->
pflags
=
0
;
rte_update
(
n
,
p
,
e
);
...
...
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