miniupnpcmodule.c: fix typo

This commit is contained in:
Thomas Bernard 2024-05-09 17:09:55 +02:00
parent 54d25615e8
commit 0e9d26f163
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ static PyMemberDef UPnP_members[] = {
{"lanaddr", T_STRING_INPLACE, offsetof(UPnPObject, lanaddr),
READONLY, "ip address on the LAN"
},
{"wanaddr", T_STRING_INPLACE, offsetof(UPnPObject, lanaddr),
{"wanaddr", T_STRING_INPLACE, offsetof(UPnPObject, wanaddr),
READONLY, "public ip address on the WAN"
},
{"discoverdelay", T_UINT, offsetof(UPnPObject, discoverdelay),