# 
# 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") 
# 


ethmac = c0:ff:ee:c0:ff:ee;

echo("ethmac:", typeof(ethmac), " = ", ethmac, "\n");

ethlist = [ c0:ff:ee:c0:ff:ee, ff:ee:ee:dd:ff:aa ] ;

echo("ethlist:", typeof(ethlist), " = ", ethlist, "\n");

ethmac = 00:00:00:00:00:00;
echo("ethmac:", typeof(ethmac), " = ", ethmac, "\n");

ethmac = 01:23:45:67:89:ab;
echo("ethmac:", typeof(ethmac), " = ", ethmac, "\n");

ethmac = 45:67:89:ab:cd:ef;
echo("ethmac:", typeof(ethmac), " = ", ethmac, "\n");

func test {
    if (ethmac == 45:67:89:ab:cd:ef) {
	echo( "ethmac matched: 45:67:89:ab:cd:ef == ", ethmac, "\n" );
    } else {
	echo( "ethmac didn't match: 45:67:89:ab:cd:ef != ", ethmac, " \n" );
    }
    if (ethmac == 45:67:12:ab:cd:ef) {
	echo( "ethmac matched: 45:67:12:ab:cd:ef == ", ethmac, "\n" );
    } else {
	echo( "ethmac didn't match: 45:67:12:ab:cd:ef != ", ethmac, " \n" );
    }
    if (ethmac < 45:67:12:ab:cd:ef) {
	echo( "ethmac: ", ethmac, " < 45:67:12:ab:cd:ef\n" );
    } else {
	echo( "ethmac: ", ethmac, " >= 45:67:12:ab:cd:ef\n" );
    }
}

test();

my_router_mac_list = [ 00:c0:7b:6b:ee:2b ] ;
my_router_ip_list = [ 208.218.124.1 ] ;

echo( "my_router_mac_list: ", my_router_mac_list,
	" my_router_ip_list: ", my_router_ip_list, "\n" );
