net: fix some warnings [adridu59]

Signed-off-by: garwedgess <garethwilliams21@gmail.com>