]> git.proxmox.com Git - mirror_frr.git/commit
[ospfd] Fix two debug messages that used inet_ntoa more than once
authorAndrew J. Schorr <ajschorr@alumni.princeton.edu>
Wed, 14 Mar 2007 20:21:43 +0000 (20:21 +0000)
committerAndrew J. Schorr <ajschorr@alumni.princeton.edu>
Wed, 14 Mar 2007 20:21:43 +0000 (20:21 +0000)
commit56b3ea09bb613b066824c03290a58f8f2dfae9fd
tree26e0c5c3bbadfc48cba91584c21e06c971e68d31
parentc136d24406b62510a8c7a3c89e7716d0819e8fc2
[ospfd] Fix two debug messages that used inet_ntoa more than once

2007-03-14 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* ospf_zebra.c: (ospf_zebra_add, ospf_zebra_delete) Fix bug
  where inet_ntoa was used twice in the same debug message,
  which doesn't work because there's a single shared buffer
  for the returned string.  The fix is to use inet_ntop.
ospfd/ChangeLog
ospfd/ospf_zebra.c