diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2009-06-24 14:42:30 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-06-29 08:52:48 -0500 |
commit | c825316027e32a0f035c1f9c521dd51320856188 (patch) | |
tree | a55cad466e6435db8de6d2db43b59d17a485d5b5 /main.h | |
parent | 8fb8cb1b6c3ab78e454a4cce5ba3a630be7dc7d6 (diff) | |
download | slirp-c825316027e32a0f035c1f9c521dd51320856188.zip slirp-c825316027e32a0f035c1f9c521dd51320856188.tar.gz slirp-c825316027e32a0f035c1f9c521dd51320856188.tar.bz2 |
slirp: Make IP packet ID consistent
Currently, ip_id is always initialized to 0 on slirp startup (despite
the broken attempt to derive it from the clock). This is good for
reproducibility. But it is not preserved across save/restore. This patch
therefore drops the dead initialization code from ip_init and introduces
ip_id to the persistent slirp state.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'main.h')
0 files changed, 0 insertions, 0 deletions