[riot-commits] [RIOT-OS/RIOT] 709524: rpl: wrong macro definitions in rpl shell commands

Oleg Hahm oleg at hobbykeller.org
Fri Jan 16 22:00:11 CET 2015


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 7095241555dd2bf4f0f8c444a56fdc9febdb0358
      https://github.com/RIOT-OS/RIOT/commit/7095241555dd2bf4f0f8c444a56fdc9febdb0358
  Author: Cenk Gündoğan <cnkgndgn at gmail.com>
  Date:   2015-01-15 (Thu, 15 Jan 2015)

  Changed paths:
    M sys/shell/commands/sc_rpl.c

  Log Message:
  -----------
  rpl: wrong macro definitions in rpl shell commands

It appears that the values defined for RPL_NODE_IS_ROOT and
RPL_MAX_ROUTING_ENTRIES in the Makefile via CFLAGS are not recognized in
sc_rpl.c (my guess: they are only visible to the rpl module?)
Therefore RPL_MAX_ROUTING_ENTRIES is always set to 0, no matter how the
binary is compiled, thus resulting in the output "No routing table
available" for root nodes.


  Commit: f6a415a3d936a950aa67403371e0b40876be71d6
      https://github.com/RIOT-OS/RIOT/commit/f6a415a3d936a950aa67403371e0b40876be71d6
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2015-01-16 (Fri, 16 Jan 2015)

  Changed paths:
    M sys/shell/commands/sc_rpl.c

  Log Message:
  -----------
  Merge pull request #2306 from cgundogan/rpl_no_macros_for_shell

rpl: wrong macro definitions in rpl shell commands


Compare: https://github.com/RIOT-OS/RIOT/compare/cfed38ae1219...f6a415a3d936


More information about the commits mailing list