miniupnpd/natpmp.c: remove obsolete assignment
The eport_first variable now gets initialized in the first iteration of the while loop; the assignment right before the loop should have been removed in the previous commit.
This commit is contained in:
parent
f4f4573f53
commit
4f160366bd
|
@ -269,7 +269,6 @@ void ProcessIncomingNATPMPPacket(int s, unsigned char *msg_buff, int len,
|
|||
unsigned short eport_first = 0;
|
||||
int any_eport_allowed = 0;
|
||||
char desc[64];
|
||||
eport_first = eport;
|
||||
while(resp[3] == 0) {
|
||||
if(eport_first == 0) { /* first time in loop */
|
||||
eport_first = eport;
|
||||
|
|
Loading…
Reference in New Issue