generic: fix NLA comparison #2

Thanks to https://github.com/polachok

Bug-url: https://github.com/svinota/pyroute2/issues/32