Skip to content

Commit

Permalink
Added some more debug information for when a advert is received
Browse files Browse the repository at this point in the history
  • Loading branch information
John Sharratt authored and John Sharratt committed Jul 1, 2017
1 parent 6824090 commit 37181c8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/session.cc
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ void session::handle_advert(const ptr<iface>& ifa)

void session::handle_advert()
{
logger::debug()
<< "session::handle_advert() taddr=" << _taddr << ", ttl=" << _pr->ttl();

_status = VALID;
_ttl = _pr->ttl();

Expand Down

0 comments on commit 37181c8

Please sign in to comment.