# 
# Copyright(C) 1996, 1997 Network Flight Recorder, Inc. 
# All rights reserved. 
#       
# Use and distribution of this software and its source code 
# are governed by the terms and conditions of the 
# Network Flight Recorder Software License ("LICENSE.TXT") 
# 
 


endPoints = listadd( endPoints,
        [ 1.2.3.4, 80 ], [4.3.2.1, 81], [9.8.7.6, 9999] );


func foo {
    if ($1 inside endPoints)
	    return 1;
    return 0;
}

echo( "foo( [1.2.3.4, 80] )=> ", foo( [1.2.3.4, 80] ), "\n" );
echo( "foo( [1.2.3.4, 81] )=> ", foo( [1.2.3.4, 81] ), "\n" );
