Fix for network >= 2.6

Signed-off-by: Ricky Elrod <ricky@elrod.me>