#!/bin/sh # usage: ipl [-6] ipfw=ipfw case $1 in -6) ipfw="ip6fw" esac ${ipfw} -a list | sed '/^#/q' | awk '$2 > 0'