network plugin: Don't blindly re-initialize everything in the init callback.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Sat, 7 Jun 2008 18:39:04 +0000 (20:39 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Sat, 7 Jun 2008 18:39:04 +0000 (20:39 +0200)
commit48b794525072b1ff00a90497ef0bb1f4030510f4
tree82428cfd0b6dc162502824f1e74bb5f1bfea2ea1
parent136326a3ccded5e4f2944c38825f2a21d11aa58e
network plugin: Don't blindly re-initialize everything in the init callback.

Under Solaris the init functions are called every time the kstat chain
is updated. Since, among other things, send_buffer_fill was set to zero
here, the plugin ``forgot'' about values.

Thank you very much to Eric LeBlanc for debugging this issue.
src/network.c