projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netifd: Do not add local/source policy rules multiple times
[project/netifd.git]
/
system-linux.c
diff --git
a/system-linux.c
b/system-linux.c
index
d3bb64d
..
2b17764
100644
(file)
--- a/
system-linux.c
+++ b/
system-linux.c
@@
-1792,10
+1792,8
@@
static int system_iprule(struct iprule *rule, int cmd)
.rtm_flags = 0,
};
- if (cmd == RTM_NEWRULE)
{
+ if (cmd == RTM_NEWRULE)
rtm.rtm_type = RTN_UNICAST;
- rtm.rtm_flags |= NLM_F_REPLACE | NLM_F_EXCL;
- }
if (rule->invert)
rtm.rtm_flags |= FIB_RULE_INVERT;