#!/bin/sh
#
# bcofif	Determines the IP broadcast address of the interface
#		given on the commandline
#
# v1.0	15 July 1999
#####

export LC_ALL="C"

/sbin/ifconfig $1 | grep 'Bcast:' | sed 's/.*Bcast:\([0-9.]*\).*/\1/g' 
