On Monday, March 25, 2013 20:49:46 Antonio Quartulli wrote:
From: Antonio Quartulli antonio@open-mesh.com
the sequence number is not stored in struct neigh_node, therefore there is no need to pass such value to the neigh_node creation procedure.
At the moment the value is only used by a debug message, but given the fact that the seqno is not related to the neighbor object, it is better to print it elsewhere.
Signed-off-by: Antonio Quartulli antonio@open-mesh.com
do we really want to pass the seqno over every function just to print it at the end? If this value is really important (debug? don't know) it should be printed in a proper place, e.g. in the function that triggered the creation and that possibly has the seqno for other purposes... Otherwise we would not be able to create a neigh_nod unless we have a seqno to pass.
Cheers,
bat_iv_ogm.c | 11 ++++------- originator.c | 5 ++--- originator.h | 2 +- 3 files changed, 7 insertions(+), 11 deletions(-)
Applied in revision 30b5722.
Thanks, Marek