diff options
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index 7588cedc5..d1718a9a4 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -936,6 +936,16 @@ struct connectdata { long verifypeer; long verifyhost; + + /* When this connection is created, store the conditions for the local end + bind. This is stored before the actual bind and before any connection is + made and will serve the purpose of being used for comparison reasons so + that subsequent bound-requested connections aren't accidentally re-using + wrong connections. */ + char *localdev; + unsigned short localport; + int localportrange; + }; /* The end of connectdata. */ |