consul/command
Frank Schroeder 914a83cae0 agent: use bind address as src unless INADDR_ANY
Use the bind address as source address for outgoing
RPC connections unless it is INADDR_ANY.

The current code uses the advertise address which will
not work in certain environments where the advertise
address is not routable in the network of the agent,
e.g. NAT environment, container... After all, that is
the purpose of the advertise address.

See #2822
2017-05-11 00:34:14 +02:00
..
agent agent: use bind address as src unless INADDR_ANY 2017-05-11 00:34:14 +02:00
base golint: Fix existing comments 2017-04-25 09:26:13 -07:00
configtest.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
configtest_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
event.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
event_test.go Fix imports 2017-05-05 17:07:00 +02:00
exec.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
exec_test.go test: convert remaining WaitForResult tests 2017-05-05 17:07:03 +02:00
force_leave.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
force_leave_test.go retry: Removes the description parameter. 2017-05-05 17:07:03 +02:00
info.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
info_test.go Fix imports 2017-05-05 17:07:00 +02:00
join.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
join_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
keygen.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
keygen_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
keyring.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
keyring_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
kv_command.go Convert kv commands to use base.Command 2017-02-08 19:26:24 -05:00
kv_command_test.go Add kv command stubs 2016-09-26 16:06:53 -07:00
kv_delete.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
kv_delete_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
kv_export.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
kv_export_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
kv_get.go golint: Untangle if blocks with return in else 2017-04-25 09:26:13 -07:00
kv_get_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
kv_import.go golint: Untangle if blocks with return in else 2017-04-25 09:26:13 -07:00
kv_import_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
kv_put.go golint: Untangle if blocks with return in else 2017-04-25 09:26:13 -07:00
kv_put_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
leave.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
leave_test.go Fix imports 2017-05-05 17:07:00 +02:00
lock.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
lock_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
maint.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
maint_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
members.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
members_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
monitor.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
operator.go Split operator raft command into subcommands 2017-02-15 13:53:34 -08:00
operator_autopilot.go Added operator autopilot subcommands 2017-02-24 15:54:49 -08:00
operator_autopilot_get.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
operator_autopilot_get_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
operator_autopilot_set.go golint: Untangle if blocks with return in else 2017-04-25 09:26:13 -07:00
operator_autopilot_set_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
operator_autopilot_test.go Added operator autopilot subcommands 2017-02-24 15:54:49 -08:00
operator_raft.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
operator_raft_list.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
operator_raft_list_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
operator_raft_remove.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
operator_raft_remove_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
operator_raft_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
operator_test.go Split operator raft command into subcommands 2017-02-15 13:53:34 -08:00
reload.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
reload_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
rtt.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
rtt_test.go retry: Removes the description parameter. 2017-05-05 17:07:03 +02:00
snapshot_command.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
snapshot_command_test.go Adds support for snapshots and restores. (#2396) 2016-10-25 19:20:24 -07:00
snapshot_inspect.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
snapshot_inspect_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
snapshot_restore.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
snapshot_restore_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
snapshot_save.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
snapshot_save_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
util_test.go Cleans up a stray mark and fixes unit tests. 2017-03-27 01:28:54 -07:00
util_unix.go command: fix Windows build 2015-01-25 05:00:52 +01:00
util_windows.go docs: describe child process handling on Windows for lock command 2015-01-25 11:42:29 +01:00
validate.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
validate_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
version.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
version_test.go Add missing doc page for version command 2017-02-09 20:08:25 -05:00
watch.go Itty bitty typo 2017-05-02 16:08:07 -07:00
watch_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00