net-snmp: don't hardcode endianness

instead of using 'little' hardcoded, rely on the config

I recommend to backport this fix to AA, once this bug
prevents MD5 authentication in protocol v3.

Signed-off-by: Jonh Wendell <jonh.wendell@oiwifi.com.br>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@35956 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2013-03-11 14:16:52 +00:00
parent ab79cf8bc7
commit 27881759f5

View File

@ -155,7 +155,7 @@ CONFIGURE_ARGS += \
--enable-mfd-rewrites \
--enable-shared \
--enable-static \
--with-endianness=little \
--with-endianness=$(if $(CONFIG_BIG_ENDIAN),big,little) \
--with-logfile=/var/log/snmpd.log \
--with-persistent-directory=/usr/lib/snmp/ \
--with-default-snmp-version=1 \