Blame ares_set_local_ip4.3

Packit 514978
.\"
Packit 514978
.\" Copyright 2010 by Ben Greear <greearb@candelatech.com>
Packit 514978
.\"
Packit 514978
.\" Permission to use, copy, modify, and distribute this
Packit 514978
.\" software and its documentation for any purpose and without
Packit 514978
.\" fee is hereby granted, provided that the above copyright
Packit 514978
.\" notice appear in all copies and that both that copyright
Packit 514978
.\" notice and this permission notice appear in supporting
Packit 514978
.\" documentation, and that the name of M.I.T. not be used in
Packit 514978
.\" advertising or publicity pertaining to distribution of the
Packit 514978
.\" software without specific, written prior permission.
Packit 514978
.\" M.I.T. makes no representations about the suitability of
Packit 514978
.\" this software for any purpose.  It is provided "as is"
Packit 514978
.\" without express or implied warranty.
Packit 514978
.\"
Packit 514978
.TH ARES_SET_LOCAL_IP4 3 "30 June 2010"
Packit 514978
.SH NAME
Packit 514978
ares_set_local_ip4 \- Set local IPv4 address outgoing requests.
Packit 514978
.SH SYNOPSIS
Packit 514978
.nf
Packit 514978
.B #include <ares.h>
Packit 514978
.PP
Packit 514978
.B void ares_set_local_ip4(ares_channel \fIchannel\fP, unsigned int \fIlocal_ip\fP)
Packit 514978
.fi
Packit 514978
.SH DESCRIPTION
Packit 514978
The \fBares_set_local_ip4\fP function sets the IP address for outbound
Packit 514978
requests.  This allows users to specify outbound interfaces when used
Packit 514978
on multi-homed systems.
Packit 514978
.SH SEE ALSO
Packit 514978
.BR ares_set_local_ip6 (3)
Packit 514978
.SH NOTES
Packit 514978
This function was added in c-ares 1.7.4
Packit 514978
.SH AUTHOR
Packit 514978
Ben Greear