From 01972c18a1fe3efedf967cfd6c0df2919ad7507c Mon Sep 17 00:00:00 2001 From: Steffen Klassert Date: Wed, 23 Nov 2011 02:14:15 +0000 Subject: [PATCH] --- yaml --- r: 276233 b: refs/heads/master c: b8400f3718a11c9b0ca400705cddf94f3132c1c3 h: refs/heads/master i: 276231: f323416f4b5fb5af0b572c09e270905e9b416161 v: v3 --- [refs] | 2 +- trunk/include/net/route.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index e986418a17c7..2006f573be1b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 618f9bc74a039da76fa027ac2600c5b785b964c5 +refs/heads/master: b8400f3718a11c9b0ca400705cddf94f3132c1c3 diff --git a/trunk/include/net/route.h b/trunk/include/net/route.h index db7b3432f07c..91855d185b53 100644 --- a/trunk/include/net/route.h +++ b/trunk/include/net/route.h @@ -71,12 +71,12 @@ struct rtable { struct fib_info *fi; /* for client ref to shared metrics */ }; -static inline bool rt_is_input_route(struct rtable *rt) +static inline bool rt_is_input_route(const struct rtable *rt) { return rt->rt_route_iif != 0; } -static inline bool rt_is_output_route(struct rtable *rt) +static inline bool rt_is_output_route(const struct rtable *rt) { return rt->rt_route_iif == 0; }