View previous topic :: View next topic |
Author |
Message |
Chinstrap
Joined: 08 Dec 2007 Posts: 6
|
Posted: Thu Dec 13, 2007 1:59 am Post subject: Spec bug in natpmp.h |
|
|
Small (but important) bug in natpmp.h
From natpmp.h:
/* Values to pass to sendnewportmappingrequest() */
#define NATPMP_PROTOCOL_TCP (1)
#define NATPMP_PROTOCOL_UDP (2)
From http://files.dns-sd.org/draft-cheshire-nat-pmp.txt
Opcodes supported:
1 - Map UDP
2 - Map TCP
You got them reversed. I'd post a patch, but I bet you can figure it out pretty easily
Cheers. |
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1589
|
Posted: Thu Dec 13, 2007 2:55 pm Post subject: |
|
|
important indeed !
thanks for the report.
fixed version will soon be available ! _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
|
|