Insert/remove hooks return void, not int.
This commit is contained in:
parent
a0762910a6
commit
acc62f5e1d
1 changed files with 2 additions and 2 deletions
|
@ -70,8 +70,8 @@ struct proto {
|
||||||
|
|
||||||
int (*rta_same)(struct rtattr *, struct rtattr *);
|
int (*rta_same)(struct rtattr *, struct rtattr *);
|
||||||
int (*rte_better)(struct rte *, struct rte *);
|
int (*rte_better)(struct rte *, struct rte *);
|
||||||
int (*rte_insert)(struct network *, struct rte *);
|
void (*rte_insert)(struct network *, struct rte *);
|
||||||
int (*rte_remove)(struct network *, struct rte *);
|
void (*rte_remove)(struct network *, struct rte *);
|
||||||
|
|
||||||
/* Reconfigure function? */
|
/* Reconfigure function? */
|
||||||
/* Interface patterns */
|
/* Interface patterns */
|
||||||
|
|
Loading…
Reference in a new issue