net-snmp: avoid duplicate section names
authorStijn Tintel <stijn@linux-ipv6.be>
Fri, 29 Sep 2017 01:28:18 +0000 (04:28 +0300)
committerStijn Tintel <stijn@linux-ipv6.be>
Fri, 29 Sep 2017 01:36:47 +0000 (04:36 +0300)
commite4165b44525131cc03399774a5f5ca4853b4679f
tree49790e9615bbb8e4fb0e189e8d0403e47c794e06
parent0e1c8b4ccc2ce2261eb6282504a2cf8f083b942a
net-snmp: avoid duplicate section names

It seems that UCI can't handle duplicate section names in a single
config file, even if they use different types. After the previous
commit, running `uci export` results in the following error:

uci: Parse error (section of different type overwrites prior section with same name) at line 17, byte 23

Append a 6 to the com2sec6 section names to solve this.

Fixes: 0e1c8b4ccc2c ("net-snmp: snmpd: listen on IPv6 by default")
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
net/net-snmp/Makefile
net/net-snmp/files/snmpd.conf