diff options
Diffstat (limited to 'net/ipv4/fib_rules.c')
-rw-r--r-- | net/ipv4/fib_rules.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/ipv4/fib_rules.c b/net/ipv4/fib_rules.c index 5ee1bfd78..03095f1a2 100644 --- a/net/ipv4/fib_rules.c +++ b/net/ipv4/fib_rules.c @@ -5,7 +5,7 @@ * * IPv4 Forwarding Information Base: policy rules. * - * Version: $Id: fib_rules.c,v 1.14 1999/08/31 07:03:29 davem Exp $ + * Version: $Id: fib_rules.c,v 1.15 2000/04/15 01:48:10 davem Exp $ * * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> * @@ -298,7 +298,8 @@ int fib_lookup(const struct rt_key *key, struct fib_result *res) u32 daddr = key->dst; u32 saddr = key->src; -FRprintk("Lookup: %08x <- %08x ", key->dst, key->src); +FRprintk("Lookup: %u.%u.%u.%u <- %u.%u.%u.%u ", + NIPQUAD(key->dst), NIPQUAD(key->src)); read_lock(&fib_rules_lock); for (r = fib_rules; r; r=r->r_next) { if (((saddr^r->r_src) & r->r_srcmask) || |