jsoninfo: do not output smart-gateway info when not enabled.
authorFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 16 Jun 2015 20:32:26 +0000 (22:32 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 16 Jun 2015 20:32:57 +0000 (22:32 +0200)
commit3a7d5ae8492bc7b1a209d530517e6957f94ff95e
tree98b0baae3a77b5b3233b0b420d51e5a77496909d
parentfd5a320acb06bef0eeb5c5d97570f1e1f6545d05
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/jsoninfo/src/olsrd_jsoninfo.c