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:
Daniel Becker 2014-03-10 11:14:49 -07:00
parent f4f4573f53
commit 4f160366bd
1 changed files with 0 additions and 1 deletions

View File

@ -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;