txtinfo: jsoninfo: do not output smart-gateway info when not enabled.
authorFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 16 Jun 2015 20:32:39 +0000 (22:32 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 16 Jun 2015 20:32:57 +0000 (22:32 +0200)
commit284f5d98be820924559fd0920734601ad21bae7b
tree7b1794b57f446f461e010fed24b12ad76b407f24
parent3a7d5ae8492bc7b1a209d530517e6957f94ff95e
txtinfo: jsoninfo: do not output smart-gateway info when not enabled.

Fixes a crash when smart-gateway is not enabled.

Reported-by: Anreas Brau <ab@andi95.de>
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/txtinfo/src/olsrd_txtinfo.c