network: Remove calls to removed functions

Change-Id: Iaa4bc49d844dcb30ae3aa9c7accb159e4eaea35f
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>