diff options
-rw-r--r-- | proto/static/static.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/proto/static/static.c b/proto/static/static.c index 0c088cd7..849067b9 100644 --- a/proto/static/static.c +++ b/proto/static/static.c @@ -498,7 +498,8 @@ static_same_dest(struct static_route *x, struct static_route *y) static inline int static_same_rte(struct static_route *x, struct static_route *y) { - return static_same_dest(x, y) && i_same(x->cmds, y->cmds); + /* Note that i_same() requires arguments in (new, old) order */ + return static_same_dest(x, y) && i_same(y->cmds, x->cmds); } |