timeserver: Fix NULL network struct access for VPN
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Tue, 24 Apr 2012 11:02:35 +0000 (14:02 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 24 Apr 2012 11:25:18 +0000 (13:25 +0200)
commitf509e395c1586193c6c5ffce1cb5d6da89c80703
tree4d3fe0c08f421c6c742cfe0941871c83b442dbcc
parentacabaf2dce1435f112c44529129ba66425ffe4c0
timeserver: Fix NULL network struct access for VPN

A VPN does not have a network struct set. Thus do not attempt to
look up the corresponding interface index for a NULL network
pointer.

Fixes BMC#25075
src/timeserver.c