time-unix: use two init functions instead of switch(proto)
This is partly undoing the previous commit, but there is really
no common code between udp and raw in the init path.
Besides, initializing for vlan means creating a raw socket, and
we'd break the whole "switch" idea.
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
Showing
This diff is collapsed.
Please
register
or
sign in
to comment