projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
device: make device_set_disabled inline, add device_set_deferred
[project/netifd.git]
/
interface-ip.c
diff --git
a/interface-ip.c
b/interface-ip.c
index e09a74fd932f8603ba4c4e1b034ddea3333dcf30..14feb6fa6ddcdf41b353d6cd82c0c2347c1f9701 100644
(file)
--- a/
interface-ip.c
+++ b/
interface-ip.c
@@
-301,7
+301,7
@@
interface_update_proto_addr(struct vlist_tree *tree,
uint32_t *a = (uint32_t *) &a_new->addr;
mask >>= a_new->mask;
- a_new->broadcast = *a |
mask
;
+ a_new->broadcast = *a |
htonl(mask)
;
}
}