[riot-commits] [RIOT-OS/RIOT] 465f90: aodvv2: call aodv_packet_reader_handle_packet() wh...

Lotte Steenbrink lotte at zombietetris.de
Wed Jan 7 00:37:08 CET 2015


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 465f9096b112633e15a057e3cee7fb920602bbeb
      https://github.com/RIOT-OS/RIOT/commit/465f9096b112633e15a057e3cee7fb920602bbeb
  Author: Lotte Steenbrink <lotte.steenbrink at fu-berlin.de>
  Date:   2015-01-06 (Tue, 06 Jan 2015)

  Changed paths:
    M sys/net/routing/aodvv2/aodv.c

  Log Message:
  -----------
  aodvv2: call aodv_packet_reader_handle_packet() when recieved packet is *not* our own.

For some reason the call to aodv_packet_reader_handle_packet() got lumped in with the check if a received packet is ours. In consequence, all packets which were not sent by the node that received them (i.e. the important ones) were silently ignored, preventing any routes from being established.
This should be fixed now: foreign packets are now handled again, while own packets are ignored.
Also, I made the corresponding comment a bit less passive-aggressive.


  Commit: f6ffbd683079eb66f8065fb7be5a3dbd453a3e34
      https://github.com/RIOT-OS/RIOT/commit/f6ffbd683079eb66f8065fb7be5a3dbd453a3e34
  Author: Lotte Steenbrink <lotte at zombietetris.de>
  Date:   2015-01-07 (Wed, 07 Jan 2015)

  Changed paths:
    M sys/net/routing/aodvv2/aodv.c

  Log Message:
  -----------
  Merge pull request #2255 from Lotterleben/aodvv2_fix_packethandler

aodv: call aodv_packet_reader_handle_packet() when received packet is *not* our own


Compare: https://github.com/RIOT-OS/RIOT/compare/9c50f206c528...f6ffbd683079


More information about the commits mailing list