zebra: fix more warnings in rtadv
commitb0b709ab6656ba07f12fe0d256912dcabba19017
authorStephen Hemminger <shemminger@vyatta.com>
Tue, 8 Dec 2009 10:26:14 +0000 (8 13:26 +0300)
committerDenis Ovsienko <infrastation@yandex.ru>
Tue, 8 Dec 2009 10:26:14 +0000 (8 13:26 +0300)
tree2633ce43d4256af90e9a85d2f866b911418b7cf8
parent0342b76cfbfde2b6f45c4614e674d53987b1e9fa
zebra: fix more warnings in rtadv

* zebra/rtadv.c
  * rtadv_free(): remove unused function
  * rtadv_recv_packet(): break up cast/dereference to avoid
    compiler type pun warning
  * rtadv_read(): initialize ifindex, because compiler can't
    figure out that it is okay
zebra/rtadv.c