net: Check subnet against the actual ip address in use for nfs
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 4 Jul 2018 00:22:55 +0000 (19:22 -0500)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 26 Jul 2018 19:08:19 +0000 (14:08 -0500)
commit347e32b01db7bf4d24d21cf775021f9b70d6448a
treeda9777318feaa91dfff82168ca626908e1322e57
parent2d114b83a7e44d448b6ffe1bf5e2ced11b769ab2
net: Check subnet against the actual ip address in use for nfs

The check for sending to the gateway was not using the correct variable
for comparison, so it was reporting that packets are sent to the gateway
when they were not.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
net/nfs.c