From 0e9d26f163dde28c77632a0b1f6b808f00256dc6 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Thu, 9 May 2024 17:09:55 +0200 Subject: [PATCH] miniupnpcmodule.c: fix typo --- miniupnpc/src/miniupnpcmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miniupnpc/src/miniupnpcmodule.c b/miniupnpc/src/miniupnpcmodule.c index b4a4eb2..08aa242 100644 --- a/miniupnpc/src/miniupnpcmodule.c +++ b/miniupnpc/src/miniupnpcmodule.c @@ -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),