Fix a '&&' that should have been a '&'.

Submitted by:	Erik Salander <erik@whistle.com>
This commit is contained in:
archie 1999-12-10 20:04:53 +00:00
parent 6ae59d4526
commit da5ff8ce2a
2 changed files with 2 additions and 2 deletions

View File

@ -609,7 +609,7 @@ GetNewPort(struct alias_link *link, int alias_port_param)
if (go_ahead)
{
if ((packetAliasMode && PKT_ALIAS_USE_SOCKETS)
if ((packetAliasMode & PKT_ALIAS_USE_SOCKETS)
&& (link->flags & LINK_PARTIALLY_SPECIFIED))
{
if (GetSocket(port_net, &link->sockfd, link->link_type))

View File

@ -609,7 +609,7 @@ GetNewPort(struct alias_link *link, int alias_port_param)
if (go_ahead)
{
if ((packetAliasMode && PKT_ALIAS_USE_SOCKETS)
if ((packetAliasMode & PKT_ALIAS_USE_SOCKETS)
&& (link->flags & LINK_PARTIALLY_SPECIFIED))
{
if (GetSocket(port_net, &link->sockfd, link->link_type))