]> git.ipfire.org Git - thirdparty/qemu.git/commit - qemu-options.hx
doc: fix slirp description
authorBrad Hards <bradh@frogmouth.net>
Sun, 24 Apr 2011 07:19:56 +0000 (17:19 +1000)
committerAurelien Jarno <aurelien@aurel32.net>
Mon, 25 Apr 2011 21:10:04 +0000 (23:10 +0200)
commitb0b36e5d2e4c8a96c2f6dbc0981a9fd0cde111d8
tree97db2882feb6081cd02951448f872266c38eafe3
parentec48c7747acd1be25ca70586bc4e6640765e40c8
doc: fix slirp description

net/slirp.c says:
    /* default settings according to historic slirp */
    struct in_addr net  = { .s_addr = htonl(0x0a000200) }; /* 10.0.2.0 */
    struct in_addr mask = { .s_addr = htonl(0xffffff00) }; /* 255.255.255.0 */
    struct in_addr host = { .s_addr = htonl(0x0a000202) }; /* 10.0.2.2 */
    struct in_addr dhcp = { .s_addr = htonl(0x0a00020f) }; /* 10.0.2.15 */
    struct in_addr dns  = { .s_addr = htonl(0x0a000203) }; /* 10.0.2.3 */

Which I think is not what the documentation says.

Signed-off-by: Brad Hards <bradh@frogmouth.net>
Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
qemu-options.hx