Skip to content

Commit

Permalink
clarified the RP upstream info when RP is the router itself
Browse files Browse the repository at this point in the history
  • Loading branch information
suz committed Jan 11, 2003
1 parent 0d1d913 commit ada539b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions kame/kame/pim6sd/debug.c
@@ -1,4 +1,4 @@
/* $KAME: debug.c,v 1.55 2002/12/24 06:37:10 suz Exp $ */
/* $KAME: debug.c,v 1.56 2003/01/11 07:49:17 suz Exp $ */

/*
* Copyright (c) 1998-2001
Expand Down Expand Up @@ -998,7 +998,12 @@ dump_rp_set(fp)
sa6_fmt(&rp->rpentry->upstream->address),
uvifs[rp->rpentry->incoming].uv_name);
} else {
fprintf(fp, "%s(none)\n", sa6_fmt(&rp->rpentry->address));
if (local_address(&rp->rpentry->address) != NO_VIF) {
fprintf(fp, "%s(myself)\n",
sa6_fmt(&rp->rpentry->address));
} else {
fprintf(fp, "%s(none)\n", sa6_fmt(&rp->rpentry->address));
}
}

if ((rp_grp_entry = rp->rp_grp_next) == NULL)
Expand Down

0 comments on commit ada539b

Please sign in to comment.