Skip to content

Commit

Permalink
Merge pull request #51 from minijackson/doc-cip-list
Browse files Browse the repository at this point in the history
document that -sip can take a list of IP addresses
(fixes #51)
  • Loading branch information
ralphlange committed Oct 12, 2023
2 parents 6749981 + bacd2ee commit 210b730
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion contrib/START.server
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# export EPICS_CA_ADDR_LIST=164.54.189.255

# Other important variables to remember (gateway sets these)
# export EPICS_CAS_INTF_ADDR= - IP address where server listens
# export EPICS_CAS_INTF_ADDR_LIST= - IP address list where server listens
# export EPICS_CAS_SERVER_PORT= - port that the CA server uses
# export EPICS_CA_SERVER_PORT= - port that the CA client library uses

Expand Down
7 changes: 4 additions & 3 deletions docs/Gateway.html
Original file line number Diff line number Diff line change
Expand Up @@ -329,9 +329,10 @@ <h2><a name="Starting">Starting the Gateway</a></h2>
variable GATEWAY_HOME also accomplishes the same result.</td>
</tr>
<tr>
<td>-sip &lt;ip-address&gt;</td>
<td>IP address where the Gateway server listens for process variable
requests. Sets the environment variable EPICS_CAS_INTF_ADDR.</td>
<td>-sip &lt;ip-address-list&gt;</td>
<td>List of IP address where the Gateway server listens for process
variable requests. Sets the environment variable
EPICS_CAS_INTF_ADDR_LIST.</td>
</tr>
<tr>
<td>-signore &lt;ip-address-list&gt;</td>
Expand Down
4 changes: 2 additions & 2 deletions src/gateway.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1389,8 +1389,8 @@ static void print_instructions(void)
pr(stderr,"-home directory: Home directory where all your gateway\n");
pr(stderr," configuration files are kept where log and command files go.\n\n");

pr(stderr,"-sip IP_address: IP address that gateway's CA server listens\n");
pr(stderr," for PV requests. Sets env variable EPICS_CAS_INTF_ADDR.\n\n");
pr(stderr,"-sip IP_address_list: IP address list that gateway's CA server listens\n");
pr(stderr," for PV requests. Sets env variable EPICS_CAS_INTF_ADDR_LIST.\n\n");

pr(stderr,"-signore IP_address_list: IP address that gateway's CA server\n");
pr(stderr," ignores. Sets env variable EPICS_CAS_IGNORE_ADDR_LIST.\n\n");
Expand Down

0 comments on commit 210b730

Please sign in to comment.