===========================================================
                                      .___ __  __   
          _________________  __ __  __| _/|__|/  |_ 
         / ___\_` __ \__  \ |  |  \/ __ | | \\_  __\
        / /_/  >  | \// __ \|  |  / /_/ | |  ||  |  
        \___  /|__|  (____  /____/\____ | |__||__|  
       /_____/            \/           \/           
              grep rough audit - static analysis tool
                  v2.8 written by @Wireghoul
=================================[justanotherhacker.com]===
bandwidthd-2.0.1+cvs20090917/pgsql.c-193-	strncpy(Values[1], interface, MAX_PARAM_SIZE);
bandwidthd-2.0.1+cvs20090917/pgsql.c:194:	res = PQexecParams(conn, "select sensor_id from sensors where sensor_name = $1 and interface = $2;",
bandwidthd-2.0.1+cvs20090917/pgsql.c-195-		2,       /* number of params */
##############################################
bandwidthd-2.0.1+cvs20090917/pgsql.c-297-		snprintf(Values[2], MAX_PARAM_SIZE, "%lu", diff);
bandwidthd-2.0.1+cvs20090917/pgsql.c:298:		res = PQexecParams(conn, "update links set last_update = now()-($3*interval '1 second') where (id1 = $1 and id2 = $2) or (id1 = $2 and id2 = $1);",
bandwidthd-2.0.1+cvs20090917/pgsql.c-299-				3,       /* number of parameters */
##############################################
bandwidthd-2.0.1+cvs20090917/pgsql.c-363-	snprintf(Values[4], MAX_PARAM_SIZE, "%lu", time(NULL)-ProgramStart);	
bandwidthd-2.0.1+cvs20090917/pgsql.c:364:	res = PQexecParams(conn, "update sensors set description = $2, management_url = $3, last_connection = now(), build = $4, uptime = $5*interval '1 second' where sensor_id = $1;",
bandwidthd-2.0.1+cvs20090917/pgsql.c-365-			5,       /* number of parameters */
##############################################
bandwidthd-2.0.1+cvs20090917/pgsql.c-394-    strncpy(Values[0], sensor_id, MAX_PARAM_SIZE);
bandwidthd-2.0.1+cvs20090917/pgsql.c:395:	res = PQexecParams(conn, "update sensors set reboots = reboots+1 where sensor_id = $1;",
bandwidthd-2.0.1+cvs20090917/pgsql.c-396-			1,       /* number of parameters */
##############################################
bandwidthd-2.0.1+cvs20090917/config.guess-36-
bandwidthd-2.0.1+cvs20090917/config.guess:37:me=`echo "$0" | sed -e 's,.*/,,'`
bandwidthd-2.0.1+cvs20090917/config.guess-38-
##############################################
bandwidthd-2.0.1+cvs20090917/config.guess-167-	# The OS release
bandwidthd-2.0.1+cvs20090917/config.guess:168:	release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
bandwidthd-2.0.1+cvs20090917/config.guess-169-	# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
##############################################
bandwidthd-2.0.1+cvs20090917/config.guess-175-	if test $UNAME_RELEASE = "V4.0"; then
bandwidthd-2.0.1+cvs20090917/config.guess:176:		UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
bandwidthd-2.0.1+cvs20090917/config.guess-177-	fi
##############################################
bandwidthd-2.0.1+cvs20090917/config.guess-208-	if test "$?" = 0 ; then
bandwidthd-2.0.1+cvs20090917/config.guess:209:		case `./$dummy` in
bandwidthd-2.0.1+cvs20090917/config.guess-210-			0-0)
##############################################
bandwidthd-2.0.1+cvs20090917/config.guess-230-	rm -f $dummy.s $dummy
bandwidthd-2.0.1+cvs20090917/config.guess:231:	echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
bandwidthd-2.0.1+cvs20090917/config.guess-232-	exit 0 ;;
##############################################
bandwidthd-2.0.1+cvs20090917/config.guess-289-    sun4H:SunOS:5.*:*)
bandwidthd-2.0.1+cvs20090917/config.guess:290:	echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
bandwidthd-2.0.1+cvs20090917/config.guess-291-	exit 0 ;;
bandwidthd-2.0.1+cvs20090917/config.guess-292-    sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
bandwidthd-2.0.1+cvs20090917/config.guess:293:	echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
bandwidthd-2.0.1+cvs20090917/config.guess-294-	exit 0 ;;
bandwidthd-2.0.1+cvs20090917/config.guess-295-    i86pc:SunOS:5.*:*)
bandwidthd-2.0.1+cvs20090917/config.guess:296:	echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
bandwidthd-2.0.1+cvs20090917/config.guess-297-	exit 0 ;;
##############################################
bandwidthd-2.0.1+cvs20090917/config.guess-301-	# it's likely to be more like Solaris than SunOS4.
bandwidthd-2.0.1+cvs20090917/config.guess:302:	echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
bandwidthd-2.0.1+cvs20090917/config.guess-303-	exit 0 ;;
##############################################
bandwidthd-2.0.1+cvs20090917/config.guess-310-	# Japanese Language versions have a version number like `4.1.3-JL'.
bandwidthd-2.0.1+cvs20090917/config.guess:311:	echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
bandwidthd-2.0.1+cvs20090917/config.guess-312-	exit 0 ;;
##############################################
bandwidthd-2.0.1+cvs20090917/config.guess-316-    sun*:*:4.2BSD:*)
bandwidthd-2.0.1+cvs20090917/config.guess:317:	UNAME_RELEASE=`(head -1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
bandwidthd-2.0.1+cvs20090917/config.guess-318-	test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
##############################################
bandwidthd-2.0.1+cvs20090917/config.guess-409-	$CC_FOR_BUILD $dummy.c -o $dummy \
bandwidthd-2.0.1+cvs20090917/config.guess:410:	  && ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
bandwidthd-2.0.1+cvs20090917/config.guess-411-	  && rm -f $dummy.c $dummy && exit 0
##############################################
bandwidthd-2.0.1+cvs20090917/config.guess-459-    *:IRIX*:*:*)
bandwidthd-2.0.1+cvs20090917/config.guess:460:	echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
bandwidthd-2.0.1+cvs20090917/config.guess-461-	exit 0 ;;
##############################################
bandwidthd-2.0.1+cvs20090917/config.guess-498-    *:AIX:*:[45])
bandwidthd-2.0.1+cvs20090917/config.guess:499:	IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'`
bandwidthd-2.0.1+cvs20090917/config.guess-500-	if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
##############################################
bandwidthd-2.0.1+cvs20090917/config.guess-533-    9000/[34678]??:HP-UX:*:*)
bandwidthd-2.0.1+cvs20090917/config.guess:534:	HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
bandwidthd-2.0.1+cvs20090917/config.guess-535-	case "${UNAME_MACHINE}" in
##############################################
bandwidthd-2.0.1+cvs20090917/config.guess-588-EOF
bandwidthd-2.0.1+cvs20090917/config.guess:589:	(CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null ) && HP_ARCH=`./$dummy`
bandwidthd-2.0.1+cvs20090917/config.guess-590-	if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi
##############################################
bandwidthd-2.0.1+cvs20090917/config.guess-596-    ia64:HP-UX:*:*)
bandwidthd-2.0.1+cvs20090917/config.guess:597:	HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
bandwidthd-2.0.1+cvs20090917/config.guess-598-	echo ia64-hp-hpux${HPUX_REV}
##############################################
bandwidthd-2.0.1+cvs20090917/config.guess-704-        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
bandwidthd-2.0.1+cvs20090917/config.guess:705:        FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
bandwidthd-2.0.1+cvs20090917/config.guess-706-        echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
##############################################
bandwidthd-2.0.1+cvs20090917/config.guess-720-    *:FreeBSD:*:*)
bandwidthd-2.0.1+cvs20090917/config.guess:721:	echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
bandwidthd-2.0.1+cvs20090917/config.guess-722-	exit 0 ;;
bandwidthd-2.0.1+cvs20090917/config.guess-723-    *:OpenBSD:*:*)
bandwidthd-2.0.1+cvs20090917/config.guess:724:	echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
bandwidthd-2.0.1+cvs20090917/config.guess-725-	exit 0 ;;
##############################################
bandwidthd-2.0.1+cvs20090917/config.guess-747-    prep*:SunOS:5.*:*)
bandwidthd-2.0.1+cvs20090917/config.guess:748:	echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
bandwidthd-2.0.1+cvs20090917/config.guess-749-	exit 0 ;;
bandwidthd-2.0.1+cvs20090917/config.guess-750-    *:GNU:*:*)
bandwidthd-2.0.1+cvs20090917/config.guess:751:	echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
bandwidthd-2.0.1+cvs20090917/config.guess-752-	exit 0 ;;
##############################################
bandwidthd-2.0.1+cvs20090917/config.guess-841-	if test "$?" = 0 ; then
bandwidthd-2.0.1+cvs20090917/config.guess:842:		case `./$dummy` in
bandwidthd-2.0.1+cvs20090917/config.guess-843-		0-0)	UNAME_MACHINE="alpha" ;;
##############################################
bandwidthd-2.0.1+cvs20090917/config.guess-950-    i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
bandwidthd-2.0.1+cvs20090917/config.guess:951:	UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
bandwidthd-2.0.1+cvs20090917/config.guess-952-	if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
##############################################
bandwidthd-2.0.1+cvs20090917/config.sub-53-
bandwidthd-2.0.1+cvs20090917/config.sub:54:me=`echo "$0" | sed -e 's,.*/,,'`
bandwidthd-2.0.1+cvs20090917/config.sub-55-
##############################################
bandwidthd-2.0.1+cvs20090917/config.sub-117-# Here we must recognize all the valid KERNEL-OS combinations.
bandwidthd-2.0.1+cvs20090917/config.sub:118:maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
bandwidthd-2.0.1+cvs20090917/config.sub-119-case $maybe_os in
##############################################
bandwidthd-2.0.1+cvs20090917/config.sub-121-    os=-$maybe_os
bandwidthd-2.0.1+cvs20090917/config.sub:122:    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
bandwidthd-2.0.1+cvs20090917/config.sub-123-    ;;
bandwidthd-2.0.1+cvs20090917/config.sub-124-  *)
bandwidthd-2.0.1+cvs20090917/config.sub:125:    basic_machine=`echo $1 | sed 's/-[^-]*$//'`
bandwidthd-2.0.1+cvs20090917/config.sub-126-    if [ $basic_machine != $1 ]
bandwidthd-2.0.1+cvs20090917/config.sub:127:    then os=`echo $1 | sed 's/.*-/-/'`
bandwidthd-2.0.1+cvs20090917/config.sub-128-    else os=; fi
##############################################
bandwidthd-2.0.1+cvs20090917/config.sub-172-		os=-sco3.2v5
bandwidthd-2.0.1+cvs20090917/config.sub:173:		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
bandwidthd-2.0.1+cvs20090917/config.sub-174-		;;
##############################################
bandwidthd-2.0.1+cvs20090917/config.sub-176-		os=-sco3.2v4
bandwidthd-2.0.1+cvs20090917/config.sub:177:		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
bandwidthd-2.0.1+cvs20090917/config.sub-178-		;;
bandwidthd-2.0.1+cvs20090917/config.sub-179-	-sco3.2.[4-9]*)
bandwidthd-2.0.1+cvs20090917/config.sub:180:		os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
bandwidthd-2.0.1+cvs20090917/config.sub:181:		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
bandwidthd-2.0.1+cvs20090917/config.sub-182-		;;
##############################################
bandwidthd-2.0.1+cvs20090917/config.sub-184-		# Don't forget version if it is 3.2v4 or newer.
bandwidthd-2.0.1+cvs20090917/config.sub:185:		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
bandwidthd-2.0.1+cvs20090917/config.sub-186-		;;
##############################################
bandwidthd-2.0.1+cvs20090917/config.sub-188-		os=-sco3.2v2
bandwidthd-2.0.1+cvs20090917/config.sub:189:		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
bandwidthd-2.0.1+cvs20090917/config.sub-190-		;;
bandwidthd-2.0.1+cvs20090917/config.sub-191-	-udk*)
bandwidthd-2.0.1+cvs20090917/config.sub:192:		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
bandwidthd-2.0.1+cvs20090917/config.sub-193-		;;
##############################################
bandwidthd-2.0.1+cvs20090917/config.sub-195-		os=-isc2.2
bandwidthd-2.0.1+cvs20090917/config.sub:196:		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
bandwidthd-2.0.1+cvs20090917/config.sub-197-		;;
##############################################
bandwidthd-2.0.1+cvs20090917/config.sub-201-	-isc*)
bandwidthd-2.0.1+cvs20090917/config.sub:202:		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
bandwidthd-2.0.1+cvs20090917/config.sub-203-		;;
##############################################
bandwidthd-2.0.1+cvs20090917/config.sub-207-	-ptx*)
bandwidthd-2.0.1+cvs20090917/config.sub:208:		basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
bandwidthd-2.0.1+cvs20090917/config.sub-209-		;;
bandwidthd-2.0.1+cvs20090917/config.sub-210-	-windowsnt*)
bandwidthd-2.0.1+cvs20090917/config.sub:211:		os=`echo $os | sed -e 's/windowsnt/winnt/'`
bandwidthd-2.0.1+cvs20090917/config.sub-212-		;;
##############################################
bandwidthd-2.0.1+cvs20090917/config.sub-263-	*-*-*)
bandwidthd-2.0.1+cvs20090917/config.sub:264:		echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
bandwidthd-2.0.1+cvs20090917/config.sub-265-		exit 1
##############################################
bandwidthd-2.0.1+cvs20090917/config.sub-519-	i*86v32)
bandwidthd-2.0.1+cvs20090917/config.sub:520:		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
bandwidthd-2.0.1+cvs20090917/config.sub-521-		os=-sysv32
##############################################
bandwidthd-2.0.1+cvs20090917/config.sub-523-	i*86v4*)
bandwidthd-2.0.1+cvs20090917/config.sub:524:		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
bandwidthd-2.0.1+cvs20090917/config.sub-525-		os=-sysv4
##############################################
bandwidthd-2.0.1+cvs20090917/config.sub-527-	i*86v)
bandwidthd-2.0.1+cvs20090917/config.sub:528:		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
bandwidthd-2.0.1+cvs20090917/config.sub-529-		os=-sysv
##############################################
bandwidthd-2.0.1+cvs20090917/config.sub-531-	i*86sol2)
bandwidthd-2.0.1+cvs20090917/config.sub:532:		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
bandwidthd-2.0.1+cvs20090917/config.sub-533-		os=-solaris2
##############################################
bandwidthd-2.0.1+cvs20090917/config.sub-587-	mips3*-*)
bandwidthd-2.0.1+cvs20090917/config.sub:588:		basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
bandwidthd-2.0.1+cvs20090917/config.sub-589-		;;
bandwidthd-2.0.1+cvs20090917/config.sub-590-	mips3*)
bandwidthd-2.0.1+cvs20090917/config.sub:591:		basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
bandwidthd-2.0.1+cvs20090917/config.sub-592-		;;
##############################################
bandwidthd-2.0.1+cvs20090917/config.sub-714-	pentium-* | p5-* | k5-* | k6-* | nexgen-*)
bandwidthd-2.0.1+cvs20090917/config.sub:715:		basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
bandwidthd-2.0.1+cvs20090917/config.sub-716-		;;
bandwidthd-2.0.1+cvs20090917/config.sub-717-	pentiumpro-* | p6-* | 6x86-* | athlon-*)
bandwidthd-2.0.1+cvs20090917/config.sub:718:		basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
bandwidthd-2.0.1+cvs20090917/config.sub-719-		;;
bandwidthd-2.0.1+cvs20090917/config.sub-720-	pentiumii-* | pentium2-*)
bandwidthd-2.0.1+cvs20090917/config.sub:721:		basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
bandwidthd-2.0.1+cvs20090917/config.sub-722-		;;
##############################################
bandwidthd-2.0.1+cvs20090917/config.sub-729-	        ;;
bandwidthd-2.0.1+cvs20090917/config.sub:730:	ppc-*)	basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
bandwidthd-2.0.1+cvs20090917/config.sub-731-		;;
##############################################
bandwidthd-2.0.1+cvs20090917/config.sub-735-	ppcle-* | powerpclittle-*)
bandwidthd-2.0.1+cvs20090917/config.sub:736:		basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
bandwidthd-2.0.1+cvs20090917/config.sub-737-		;;
##############################################
bandwidthd-2.0.1+cvs20090917/config.sub-977-	*)
bandwidthd-2.0.1+cvs20090917/config.sub:978:		echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
bandwidthd-2.0.1+cvs20090917/config.sub-979-		exit 1
##############################################
bandwidthd-2.0.1+cvs20090917/config.sub-985-	*-digital*)
bandwidthd-2.0.1+cvs20090917/config.sub:986:		basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
bandwidthd-2.0.1+cvs20090917/config.sub-987-		;;
bandwidthd-2.0.1+cvs20090917/config.sub-988-	*-commodore*)
bandwidthd-2.0.1+cvs20090917/config.sub:989:		basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
bandwidthd-2.0.1+cvs20090917/config.sub-990-		;;
##############################################
bandwidthd-2.0.1+cvs20090917/config.sub-1003-	-solaris1 | -solaris1.*)
bandwidthd-2.0.1+cvs20090917/config.sub:1004:		os=`echo $os | sed -e 's|solaris1|sunos4|'`
bandwidthd-2.0.1+cvs20090917/config.sub-1005-		;;
##############################################
bandwidthd-2.0.1+cvs20090917/config.sub-1015-	-gnu/linux*)
bandwidthd-2.0.1+cvs20090917/config.sub:1016:		os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
bandwidthd-2.0.1+cvs20090917/config.sub-1017-		;;
##############################################
bandwidthd-2.0.1+cvs20090917/config.sub-1057-	-mac*)
bandwidthd-2.0.1+cvs20090917/config.sub:1058:		os=`echo $os | sed -e 's|mac|macos|'`
bandwidthd-2.0.1+cvs20090917/config.sub-1059-		;;
bandwidthd-2.0.1+cvs20090917/config.sub-1060-	-linux*)
bandwidthd-2.0.1+cvs20090917/config.sub:1061:		os=`echo $os | sed -e 's|linux|linux-gnu|'`
bandwidthd-2.0.1+cvs20090917/config.sub-1062-		;;
bandwidthd-2.0.1+cvs20090917/config.sub-1063-	-sunos5*)
bandwidthd-2.0.1+cvs20090917/config.sub:1064:		os=`echo $os | sed -e 's|sunos5|solaris2|'`
bandwidthd-2.0.1+cvs20090917/config.sub-1065-		;;
bandwidthd-2.0.1+cvs20090917/config.sub-1066-	-sunos6*)
bandwidthd-2.0.1+cvs20090917/config.sub:1067:		os=`echo $os | sed -e 's|sunos6|solaris3|'`
bandwidthd-2.0.1+cvs20090917/config.sub-1068-		;;
##############################################
bandwidthd-2.0.1+cvs20090917/config.sub-1103-	-sinix5.*)
bandwidthd-2.0.1+cvs20090917/config.sub:1104:		os=`echo $os | sed -e 's|sinix|sysv|'`
bandwidthd-2.0.1+cvs20090917/config.sub-1105-		;;
##############################################
bandwidthd-2.0.1+cvs20090917/config.sub-1142-		# Get rid of the `-' at the beginning of $os.
bandwidthd-2.0.1+cvs20090917/config.sub:1143:		os=`echo $os | sed 's/[^-]*-//'`
bandwidthd-2.0.1+cvs20090917/config.sub:1144:		echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
bandwidthd-2.0.1+cvs20090917/config.sub-1145-		exit 1
##############################################
bandwidthd-2.0.1+cvs20090917/config.sub-1362-		esac
bandwidthd-2.0.1+cvs20090917/config.sub:1363:		basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
bandwidthd-2.0.1+cvs20090917/config.sub-1364-		;;
##############################################
bandwidthd-2.0.1+cvs20090917/phphtdocs/xml.php-39-		$res = pg_query("SELECT total, sample_duration from bd_rx_total_log 
bandwidthd-2.0.1+cvs20090917/phphtdocs/xml.php:40:							where sensor_id = ".$link['id1']." and timestamp > now()-interval '20 minutes' 
bandwidthd-2.0.1+cvs20090917/phphtdocs/xml.php-41-							order by timestamp desc limit 1;");
##############################################
bandwidthd-2.0.1+cvs20090917/phphtdocs/xml.php-48-		$res = pg_query("SELECT total, sample_duration from bd_tx_total_log 
bandwidthd-2.0.1+cvs20090917/phphtdocs/xml.php:49:							where sensor_id = ".$link['id1']." and timestamp > now()-interval '20 minutes' 
bandwidthd-2.0.1+cvs20090917/phphtdocs/xml.php-50-							order by timestamp desc limit 1;");
##############################################
bandwidthd-2.0.1+cvs20090917/phphtdocs/index.php-209-
bandwidthd-2.0.1+cvs20090917/phphtdocs/index.php:210:	$sensors = pg_query("select distinct on (sensor_name) sensor_name, management_url from sensors where location = ".$r['id'].";");
bandwidthd-2.0.1+cvs20090917/phphtdocs/index.php-211-	while ($sensor = @pg_fetch_array($sensors))
##############################################
bandwidthd-2.0.1+cvs20090917/phphtdocs/index.php-234-	{
bandwidthd-2.0.1+cvs20090917/phphtdocs/index.php:235:	//$locations = pg_query("SELECT id, name, longitude, latitude, count(sensors.sensor_name) from sensors, locations where sensors.location = locations.id and sensor_name ~* '".$_GET['search']."' group by id, name, longitude, latitude order by count desc limit 1;");
bandwidthd-2.0.1+cvs20090917/phphtdocs/index.php-236-	// Very wierd query... Pulls all towers that have sensors who's name matches the query and pulls towers who's name matches the query and artificially ranks the towers very high, right now limit 1 but in future can be used to create a weighted list of matches
bandwidthd-2.0.1+cvs20090917/phphtdocs/index.php:237:	$locations = pg_query("SELECT id, name, longitude, latitude, count(sensors.sensor_name) from sensors, locations where locations.id = sensors.location and sensor_name ~* '".$_GET['search']."' or name ~* '".$_GET['search']."' group by id, name, longitude, latitude order by count desc limit 1;");
bandwidthd-2.0.1+cvs20090917/phphtdocs/index.php-238-	while ($r = @pg_fetch_array($locations))
##############################################
bandwidthd-2.0.1+cvs20090917/phphtdocs/index.php-242-
bandwidthd-2.0.1+cvs20090917/phphtdocs/index.php:243:		$sensors = pg_query("select distinct on (sensor_name) sensor_name, management_url from sensors where location = ".$r['id'].";");
bandwidthd-2.0.1+cvs20090917/phphtdocs/index.php-244-		while ($sensor = @pg_fetch_array($sensors))
##############################################
bandwidthd-2.0.1+cvs20090917/phphtdocs/index.php-296-    {
bandwidthd-2.0.1+cvs20090917/phphtdocs/index.php:297:	echo("<a href=".$_SERVER['PHP_SELF']."?group_id=".$r['group_id']." class=text-button color=".$r['color'].">".$r['name']."</a> ");
bandwidthd-2.0.1+cvs20090917/phphtdocs/index.php-298-	}
##############################################
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage.php-34-		{
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage.php:35:        pg_query("UPDATE locations set name = '".$name[$key]."', group_id = ".$group[$key].", latitude = '".$latitude[$key]."', longitude = '".$longitude[$key]."' where id = '".$key."';");
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage.php-36-		}
##############################################
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage.php-51-	{
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage.php:52:	pg_query("INSERT INTO links_ignorelist (sensor_id) SELECT sensor_id from sensors where sensor_name like '".$HTTP_POST_VARS['sensor_name']."%' and interface = '".$HTTP_POST_VARS['interface']."';");
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage.php-53-	header("Location: manage.php");
##############################################
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage.php-148-	echo("<TR><TD>".$r['sensor_name']."<TD>".$r['interface']);
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage.php:149:	$res2 = pg_query("select locations.name as loc_name, sensor_name from links, locations, sensors where id2 = ".$r['sensor_id']." and id1 = sensor_id and location = locations.id;");		
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage.php-150-	while ($r2 = @pg_fetch_array($res2))
##############################################
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage.php-153-		}
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage.php:154:	$res2 = pg_query("select locations.name as loc_name, sensor_name from links, locations, sensors where id1 = ".$r['sensor_id']." and id2 = sensor_id and location = locations.id;");		
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage.php-155-	while ($r2 = @pg_fetch_array($res2))
##############################################
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage_sensors.php-13-            {
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage_sensors.php:14:			$result = pg_query("Select sensor_name from sensors where sensor_id = '$match[2]';");
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage_sensors.php-15-			$row = pg_fetch_array($result);
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage_sensors.php:16:			pg_query("UPDATE sensors set location = $value where sensor_name = '".$row['sensor_name']."';");
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage_sensors.php-17-            }
##############################################
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage_sensors.php-26-    {
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage_sensors.php:27:	$result = pg_query("select * from sensors where sensor_name = '".$_GET['del_sensor']."';");
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage_sensors.php-28-	while ($r = @pg_fetch_array($result))
##############################################
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage_sensors.php-30-		echo("Please wait while deleting records from tables...<BR>\n");
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage_sensors.php:31:		$sql = "delete from bd_rx_log where sensor_id = ".$r['sensor_id'];
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage_sensors.php-32-		echo($sql."<BR>\n");
##############################################
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage_sensors.php-34-		pg_query($sql);
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage_sensors.php:35:		$sql = "delete from bd_tx_log where sensor_id = ".$r['sensor_id'];
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage_sensors.php-36-		echo($sql."<BR>\n");
##############################################
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage_sensors.php-38-		pg_query($sql);
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage_sensors.php:39:		$sql = "delete from bd_tx_total_log where sensor_id = ".$r['sensor_id'];
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage_sensors.php-40-		echo($sql."<BR>\n");
##############################################
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage_sensors.php-42-		pg_query($sql);
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage_sensors.php:43:		$sql = "delete from bd_rx_total_log where sensor_id = ".$r['sensor_id'];
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage_sensors.php-44-		echo($sql."<BR>\n");
##############################################
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage_sensors.php-46-		pg_query($sql);
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage_sensors.php:47:		$sql = "delete from links where id1 = ".$r['sensor_id'];
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage_sensors.php-48-		echo($sql."<BR>\n");
##############################################
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage_sensors.php-50-		pg_query($sql);
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage_sensors.php:51:		$sql = "delete from links where id2 = ".$r['sensor_id'];
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage_sensors.php-52-		echo($sql."<BR>\n");
##############################################
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage_sensors.php-54-		pg_query($sql);
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage_sensors.php:55:		$sql = "delete from sensors where sensor_id = ".$r['sensor_id'];
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage_sensors.php-56-		echo($sql."<BR>\n");
##############################################
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage_symbols.php-9-	{
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage_symbols.php:10:	pg_query("INSERT INTO slices (sensor_id, direction, angle, radius) SELECT sensor_id, ".$HTTP_POST_VARS['direction']." as direction, ".$HTTP_POST_VARS['angle']." as angle, ".$HTTP_POST_VARS['radius']." as radius from sensors where sensor_name like '".$HTTP_POST_VARS['sensor_name']."%' and interface = '".$HTTP_POST_VARS['interface']."';");
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage_symbols.php-11-	header("Location: ".$PHP_SELF);
##############################################
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage_symbols.php-16-	{
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage_symbols.php:17:	pg_query("delete from slices where id = ".$_GET['del_slice'].";");
bandwidthd-2.0.1+cvs20090917/phphtdocs/manage/manage_symbols.php-18-	header("Location: ".$PHP_SELF);
##############################################
bandwidthd-2.0.1+cvs20090917/phphtdocs/graph.php-131-
bandwidthd-2.0.1+cvs20090917/phphtdocs/graph.php:132:$sql = "select *, extract(epoch from timestamp) as ts from $table where ip <<= '$ip' and sensor_id = '$sensor_id' and timestamp > $timestamp::abstime and timestamp < ".($timestamp+$interval)."::abstime order by ip;";
bandwidthd-2.0.1+cvs20090917/phphtdocs/graph.php-133-//echo $sql."<br>"; exit(1);
##############################################
bandwidthd-2.0.1+cvs20090917/phphtdocs/signal_level.php-10-// NOTE: This result set is used several times below
bandwidthd-2.0.1+cvs20090917/phphtdocs/signal_level.php:11://"select * from extension_log where sensor_id = ".$interface['sensor_id']." order by timestamp desc limit 1;"
bandwidthd-2.0.1+cvs20090917/phphtdocs/signal_level.php-12-
##############################################
bandwidthd-2.0.1+cvs20090917/phphtdocs/uptime.php-10-// NOTE: This result set is used several times below
bandwidthd-2.0.1+cvs20090917/phphtdocs/uptime.php:11://"select * from extension_log where sensor_id = ".$interface['sensor_id']." order by timestamp desc limit 1;"
bandwidthd-2.0.1+cvs20090917/phphtdocs/uptime.php-12-
##############################################
bandwidthd-2.0.1+cvs20090917/phphtdocs/uptime.php-26-    	{
bandwidthd-2.0.1+cvs20090917/phphtdocs/uptime.php:27:		$extension_log = pg_query("select * from extension_log where sensor_id = ".$r['sensor_id']." order by timestamp desc limit 1;");
bandwidthd-2.0.1+cvs20090917/phphtdocs/uptime.php-28-		$extension = @pg_fetch_array($extension_log);
##############################################
bandwidthd-2.0.1+cvs20090917/phphtdocs/details.php-24-if (strpos($ip, "/") === FALSE)
bandwidthd-2.0.1+cvs20090917/phphtdocs/details.php:25:	echo "$ip - ".gethostbyaddr($ip)."</h3>";
bandwidthd-2.0.1+cvs20090917/phphtdocs/details.php-26-else
##############################################
bandwidthd-2.0.1+cvs20090917/phphtdocs/details.php-50-from sensors, $txtable
bandwidthd-2.0.1+cvs20090917/phphtdocs/details.php:51:where sensors.sensor_id = '$sensor_id'
bandwidthd-2.0.1+cvs20090917/phphtdocs/details.php-52-and sensors.sensor_id = ".$txtable.".sensor_id
##############################################
bandwidthd-2.0.1+cvs20090917/phphtdocs/details.php-58-from sensors, $rxtable
bandwidthd-2.0.1+cvs20090917/phphtdocs/details.php:59:where sensors.sensor_id = '$sensor_id'
bandwidthd-2.0.1+cvs20090917/phphtdocs/details.php-60-and sensors.sensor_id = ".$rxtable.".sensor_id
##############################################
bandwidthd-2.0.1+cvs20090917/phphtdocs/details.php-82-if (strpos($ip, "/") === FALSE)
bandwidthd-2.0.1+cvs20090917/phphtdocs/details.php:83:	echo "$ip</td><td>".gethostbyaddr($ip) . "</td>";
bandwidthd-2.0.1+cvs20090917/phphtdocs/details.php-84-else
##############################################
bandwidthd-2.0.1+cvs20090917/phphtdocs/sensors.php-115-
bandwidthd-2.0.1+cvs20090917/phphtdocs/sensors.php:116:$sql = "SELECT sensor_name, interface, sensor_id FROM sensors WHERE sensor_id = '$sensor_id';";
bandwidthd-2.0.1+cvs20090917/phphtdocs/sensors.php-117-$result = @pg_query($sql);
##############################################
bandwidthd-2.0.1+cvs20090917/phphtdocs/sensors.php-143-from sensors, bd_tx_log
bandwidthd-2.0.1+cvs20090917/phphtdocs/sensors.php:144:where sensors.sensor_id = '$sensor_id'
bandwidthd-2.0.1+cvs20090917/phphtdocs/sensors.php-145-and sensors.sensor_id = bd_tx_log.sensor_id
##############################################
bandwidthd-2.0.1+cvs20090917/phphtdocs/sensors.php-152-from sensors, bd_rx_log
bandwidthd-2.0.1+cvs20090917/phphtdocs/sensors.php:153:where sensors.sensor_id = '$sensor_id'
bandwidthd-2.0.1+cvs20090917/phphtdocs/sensors.php-154-and sensors.sensor_id = bd_rx_log.sensor_id
##############################################
bandwidthd-2.0.1+cvs20090917/phphtdocs/sensors.php-224-		$url = '<a href="#' . $r['ip'] . '">';
bandwidthd-2.0.1+cvs20090917/phphtdocs/sensors.php:225:	echo "<tr><td>" . $url . $r['ip'] . "</a></td><td>" . gethostbyaddr($r['ip']) . "</td>";
bandwidthd-2.0.1+cvs20090917/phphtdocs/sensors.php-226-	echo fmtb($r['total']).fmtb($r['sent']).fmtb($r['received']).
##############################################
bandwidthd-2.0.1+cvs20090917/phphtdocs/sensors.php-272-	else
bandwidthd-2.0.1+cvs20090917/phphtdocs/sensors.php:273:		echo $r['ip']." - ".gethostbyaddr($r['ip']);
bandwidthd-2.0.1+cvs20090917/phphtdocs/sensors.php-274-	echo "</a></h3>";
##############################################
bandwidthd-2.0.1+cvs20090917/phphtdocs/failures.php-92-    	echo("<TR><TD><a href=".$r['management_url'].">".$r['sensor_name']."</A><TD>".$r['interface']."<TD>".$r['signal']);
bandwidthd-2.0.1+cvs20090917/phphtdocs/failures.php:93:		$res2 = pg_query("SELECT timestamp, wireless from extension_log where sensor_id = ".$r['sensor_id']." order by timestamp desc limit 3"); 
bandwidthd-2.0.1+cvs20090917/phphtdocs/failures.php-94-		echo("<TR><TD colspan=3><PRE>");
##############################################
bandwidthd-2.0.1+cvs20090917/phphtdocs/location_statistics.php-10-$location_id = $_GET['location_id'];
bandwidthd-2.0.1+cvs20090917/phphtdocs/location_statistics.php:11:$locations = pg_query("SELECT * from locations where id = $location_id");
bandwidthd-2.0.1+cvs20090917/phphtdocs/location_statistics.php-12-if (!$locations)
##############################################
bandwidthd-2.0.1+cvs20090917/phphtdocs/location_statistics.php-16-
bandwidthd-2.0.1+cvs20090917/phphtdocs/location_statistics.php:17:$sensors = pg_query("select distinct sensor_name from sensors where location = ".$r['id']." order by sensor_name;");
bandwidthd-2.0.1+cvs20090917/phphtdocs/location_statistics.php-18-
##############################################
bandwidthd-2.0.1+cvs20090917/phphtdocs/location_statistics.php-21-	echo("<H3>".$sensor['sensor_name']."</H3>");
bandwidthd-2.0.1+cvs20090917/phphtdocs/location_statistics.php:22:	$interfaces = pg_query("select * from sensors where sensor_name = '".$sensor['sensor_name']."' order by interface;");
bandwidthd-2.0.1+cvs20090917/phphtdocs/location_statistics.php-23-	$First = true;
##############################################
bandwidthd-2.0.1+cvs20090917/phphtdocs/location_statistics.php-25-		{
bandwidthd-2.0.1+cvs20090917/phphtdocs/location_statistics.php:26:		$extension_log = pg_query("select * from extension_log where sensor_id = ".$interface['sensor_id']." order by timestamp desc limit 1;");
bandwidthd-2.0.1+cvs20090917/phphtdocs/location_statistics.php-27-		$extension = @pg_fetch_array($extension_log);
##############################################
bandwidthd-2.0.1+cvs20090917/install-sh-85-
bandwidthd-2.0.1+cvs20090917/install-sh:86:	-t=*) transformarg=`echo $1 | sed 's/-t=//'`
bandwidthd-2.0.1+cvs20090917/install-sh-87-	    shift
##############################################
bandwidthd-2.0.1+cvs20090917/install-sh-89-
bandwidthd-2.0.1+cvs20090917/install-sh:90:	-b=*) transformbasename=`echo $1 | sed 's/-b=//'`
bandwidthd-2.0.1+cvs20090917/install-sh-91-	    shift
##############################################
bandwidthd-2.0.1+cvs20090917/install-sh-151-	then
bandwidthd-2.0.1+cvs20090917/install-sh:152:		dst="$dst"/`basename $src`
bandwidthd-2.0.1+cvs20090917/install-sh-153-	else
##############################################
bandwidthd-2.0.1+cvs20090917/install-sh-158-## this sed command emulates the dirname command
bandwidthd-2.0.1+cvs20090917/install-sh:159:dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
bandwidthd-2.0.1+cvs20090917/install-sh-160-
##############################################
bandwidthd-2.0.1+cvs20090917/install-sh-172-IFS='%'
bandwidthd-2.0.1+cvs20090917/install-sh:173:set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'`
bandwidthd-2.0.1+cvs20090917/install-sh-174-IFS="${oIFS}"
##############################################
bandwidthd-2.0.1+cvs20090917/install-sh-206-	then
bandwidthd-2.0.1+cvs20090917/install-sh:207:		dstfile=`basename $dst`
bandwidthd-2.0.1+cvs20090917/install-sh-208-	else
##############################################
bandwidthd-2.0.1+cvs20090917/install-sh-216-	then
bandwidthd-2.0.1+cvs20090917/install-sh:217:		dstfile=`basename $dst`
bandwidthd-2.0.1+cvs20090917/install-sh-218-	else
##############################################
bandwidthd-2.0.1+cvs20090917/debian/patches/0003-Add-configure-option-for-pgsql-support.patch-31-+  else
bandwidthd-2.0.1+cvs20090917/debian/patches/0003-Add-configure-option-for-pgsql-support.patch:32:+    LDFLAGS="$LDFLAGS -L`$PG_CONFIG --libdir` -lpq"
bandwidthd-2.0.1+cvs20090917/debian/patches/0003-Add-configure-option-for-pgsql-support.patch-33-+
bandwidthd-2.0.1+cvs20090917/debian/patches/0003-Add-configure-option-for-pgsql-support.patch:34:+    pgsql_cflags=`$PG_CONFIG --includedir`
bandwidthd-2.0.1+cvs20090917/debian/patches/0003-Add-configure-option-for-pgsql-support.patch-35-+    if test "x$pgsql_cflags" != "x/usr/include" ; then
##############################################
bandwidthd-2.0.1+cvs20090917/debian/patches/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch-75- if (strpos($ip, "/") === FALSE)
bandwidthd-2.0.1+cvs20090917/debian/patches/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch:76:-	echo "$ip<td>".gethostbyaddr($ip);
bandwidthd-2.0.1+cvs20090917/debian/patches/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch:77:+	echo "$ip</td><td>".gethostbyaddr($ip) . "</td>";
bandwidthd-2.0.1+cvs20090917/debian/patches/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch-78- else
##############################################
bandwidthd-2.0.1+cvs20090917/debian/patches/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch-489- 
bandwidthd-2.0.1+cvs20090917/debian/patches/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch:490:-$sql = "SELECT sensor_name, interface, sensor_id from sensors where sensor_id = $sensor_id;";
bandwidthd-2.0.1+cvs20090917/debian/patches/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch:491:+$sql = "SELECT sensor_name, interface, sensor_id FROM sensors WHERE sensor_id = '$sensor_id';";
bandwidthd-2.0.1+cvs20090917/debian/patches/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch-492- $result = @pg_query($sql);
##############################################
bandwidthd-2.0.1+cvs20090917/debian/patches/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch-547--	echo "<tr><td>".$url;
bandwidthd-2.0.1+cvs20090917/debian/patches/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch:548:-	echo $r['ip']."<td>".gethostbyaddr($r['ip']);
bandwidthd-2.0.1+cvs20090917/debian/patches/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch-549--	echo "</a>";
bandwidthd-2.0.1+cvs20090917/debian/patches/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch-550-+		$url = '<a href="#' . $r['ip'] . '">';
bandwidthd-2.0.1+cvs20090917/debian/patches/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch:551:+	echo "<tr><td>" . $url . $r['ip'] . "</a></td><td>" . gethostbyaddr($r['ip']) . "</td>";
bandwidthd-2.0.1+cvs20090917/debian/patches/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch-552- 	echo fmtb($r['total']).fmtb($r['sent']).fmtb($r['received']).
##############################################
bandwidthd-2.0.1+cvs20090917/debian/patches/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch-602- 	else
bandwidthd-2.0.1+cvs20090917/debian/patches/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch:603:-		echo $r['ip']." - ".gethostbyaddr($r['ip'])."</h3>";
bandwidthd-2.0.1+cvs20090917/debian/patches/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch-604--	echo "</a>";
##############################################
bandwidthd-2.0.1+cvs20090917/debian/patches/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch-609--	echo "<a href=#top>[Return to Top]</a>";
bandwidthd-2.0.1+cvs20090917/debian/patches/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch:610:+		echo $r['ip']." - ".gethostbyaddr($r['ip']);
bandwidthd-2.0.1+cvs20090917/debian/patches/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch-611-+	echo "</a></h3>";
##############################################
bandwidthd-2.0.1+cvs20090917/debian/patches/fix-gcc-10-ftbfs.patch-193- // ************ This function converts the numbers for each quad into an IP
bandwidthd-2.0.1+cvs20090917/debian/patches/fix-gcc-10-ftbfs.patch:194: inline uint32_t IpAddr(unsigned char q1, unsigned char q2, unsigned char q3, unsigned char q4);
bandwidthd-2.0.1+cvs20090917/debian/patches/fix-gcc-10-ftbfs.patch-195- 
##############################################
bandwidthd-2.0.1+cvs20090917/debian/patches/fix-gcc-5-ftbfs.patch-29- // ************ This function converts the numbers for each quad into an IP
bandwidthd-2.0.1+cvs20090917/debian/patches/fix-gcc-5-ftbfs.patch:30: inline uint32_t IpAddr(unsigned char q1, unsigned char q2, unsigned char q3, unsigned char q4);
##############################################
bandwidthd-2.0.1+cvs20090917/debian/patches/replace_depricated_HTTP_GET_VARS_by_GET.patch-26-+$location_id = $_GET['location_id'];
bandwidthd-2.0.1+cvs20090917/debian/patches/replace_depricated_HTTP_GET_VARS_by_GET.patch:27: $locations = pg_query("SELECT * from locations where id = $location_id");
bandwidthd-2.0.1+cvs20090917/debian/patches/replace_depricated_HTTP_GET_VARS_by_GET.patch-28- if (!$locations)
##############################################
bandwidthd-2.0.1+cvs20090917/debian/patches/replace_depricated_HTTP_GET_VARS_by_GET.patch-40-     {
bandwidthd-2.0.1+cvs20090917/debian/patches/replace_depricated_HTTP_GET_VARS_by_GET.patch:41:-	$result = pg_query("select * from sensors where sensor_name = '".$HTTP_GET_VARS['del_sensor']."';");
bandwidthd-2.0.1+cvs20090917/debian/patches/replace_depricated_HTTP_GET_VARS_by_GET.patch:42:+	$result = pg_query("select * from sensors where sensor_name = '".$_GET['del_sensor']."';");
bandwidthd-2.0.1+cvs20090917/debian/patches/replace_depricated_HTTP_GET_VARS_by_GET.patch-43- 	while ($r = @pg_fetch_array($result))
##############################################
bandwidthd-2.0.1+cvs20090917/debian/patches/replace_depricated_HTTP_GET_VARS_by_GET.patch-56- 	{
bandwidthd-2.0.1+cvs20090917/debian/patches/replace_depricated_HTTP_GET_VARS_by_GET.patch:57:-	pg_query("delete from slices where id = ".$HTTP_GET_VARS['del_slice'].";");
bandwidthd-2.0.1+cvs20090917/debian/patches/replace_depricated_HTTP_GET_VARS_by_GET.patch:58:+	pg_query("delete from slices where id = ".$_GET['del_slice'].";");
bandwidthd-2.0.1+cvs20090917/debian/patches/replace_depricated_HTTP_GET_VARS_by_GET.patch-59- 	header("Location: ".$PHP_SELF);
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/0005-Add-missing-MAIL-table-header-to-generated-static-ht.patch/graph.c-59-		alarm(10);  // Don't let gethostbyaddr hold us up too long
bandwidthd-2.0.1+cvs20090917/.pc/0005-Add-missing-MAIL-table-header-to-generated-static-ht.patch/graph.c:60:		hostent = gethostbyaddr((char *) &addr, 4, AF_INET); // (char *)&Data->IP				
bandwidthd-2.0.1+cvs20090917/.pc/0005-Add-missing-MAIL-table-header-to-generated-static-ht.patch/graph.c-61-		alarm(0);
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/details.php-22-if (strpos($ip, "/") === FALSE)
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/details.php:23:	echo "$ip - ".gethostbyaddr($ip)."</h3>";
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/details.php-24-else
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/details.php-48-from sensors, $txtable
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/details.php:49:where sensors.sensor_id = '$sensor_id'
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/details.php-50-and sensors.sensor_id = ".$txtable.".sensor_id
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/details.php-56-from sensors, $rxtable
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/details.php:57:where sensors.sensor_id = '$sensor_id'
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/details.php-58-and sensors.sensor_id = ".$rxtable.".sensor_id
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/details.php-68-if (strpos($ip, "/") === FALSE)
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/details.php:69:	echo "$ip<td>".gethostbyaddr($ip);
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/details.php-70-else
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/failures.php-98-    	echo("<TR><TD><a href=".$r['management_url'].">".$r['sensor_name']."</A><TD>".$r['interface']."<TD>".$r['signal']);
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/failures.php:99:		$res2 = pg_query("SELECT timestamp, wireless from extension_log where sensor_id = ".$r['sensor_id']." order by timestamp desc limit 3"); 
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/failures.php-100-		echo("<TR><TD colspan=3><PRE>");
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/graph.php-123-
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/graph.php:124:$sql = "select *, extract(epoch from timestamp) as ts from $table where ip <<= '$ip' and sensor_id = '$sensor_id' and timestamp > $timestamp::abstime and timestamp < ".($timestamp+$interval)."::abstime order by ip;";
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/graph.php-125-//echo $sql."<br>"; exit(1);
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/location_statistics.php-15-$location_id = $HTTP_GET_VARS['location_id'];
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/location_statistics.php:16:$locations = pg_query("SELECT * from locations where id = $location_id");
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/location_statistics.php-17-if (!$locations)
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/location_statistics.php-21-
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/location_statistics.php:22:$sensors = pg_query("select distinct sensor_name from sensors where location = ".$r['id']." order by sensor_name;");
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/location_statistics.php-23-
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/location_statistics.php-26-	echo("<H3>".$sensor['sensor_name']."</H3>");
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/location_statistics.php:27:	$interfaces = pg_query("select * from sensors where sensor_name = '".$sensor['sensor_name']."' order by interface;");
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/location_statistics.php-28-	$First = true;
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/location_statistics.php-30-		{
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/location_statistics.php:31:		$extension_log = pg_query("select * from extension_log where sensor_id = ".$interface['sensor_id']." order by timestamp desc limit 1;");
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/location_statistics.php-32-		$extension = @pg_fetch_array($extension_log);
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/sensors.php-89-
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/sensors.php:90:$sql = "SELECT sensor_name, interface, sensor_id from sensors where sensor_id = $sensor_id;";
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/sensors.php-91-$result = @pg_query($sql);
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/sensors.php-117-from sensors, bd_tx_log
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/sensors.php:118:where sensors.sensor_id = '$sensor_id'
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/sensors.php-119-and sensors.sensor_id = bd_tx_log.sensor_id
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/sensors.php-126-from sensors, bd_rx_log
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/sensors.php:127:where sensors.sensor_id = '$sensor_id'
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/sensors.php-128-and sensors.sensor_id = bd_rx_log.sensor_id
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/sensors.php-190-	echo "<tr><td>".$url;
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/sensors.php:191:	echo $r['ip']."<td>".gethostbyaddr($r['ip']);
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/sensors.php-192-	echo "</a>";
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/sensors.php-238-	else
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/sensors.php:239:		echo $r['ip']." - ".gethostbyaddr($r['ip'])."</h3>";
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/sensors.php-240-	echo "</a>";
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/signal_level.php-15-// NOTE: This result set is used several times below
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/signal_level.php:16://"select * from extension_log where sensor_id = ".$interface['sensor_id']." order by timestamp desc limit 1;"
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/signal_level.php-17-
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/uptime.php-15-// NOTE: This result set is used several times below
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/uptime.php:16://"select * from extension_log where sensor_id = ".$interface['sensor_id']." order by timestamp desc limit 1;"
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/uptime.php-17-
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/uptime.php-31-    	{
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/uptime.php:32:		$extension_log = pg_query("select * from extension_log where sensor_id = ".$r['sensor_id']." order by timestamp desc limit 1;");
bandwidthd-2.0.1+cvs20090917/.pc/0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch/phphtdocs/uptime.php-33-		$extension = @pg_fetch_array($extension_log);
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/fix-gcc-5-ftbfs.patch/bandwidthd.h-230-// ************ This function converts the numbers for each quad into an IP
bandwidthd-2.0.1+cvs20090917/.pc/fix-gcc-5-ftbfs.patch/bandwidthd.h:231:inline uint32_t IpAddr(unsigned char q1, unsigned char q2, unsigned char q3, unsigned char q4);
bandwidthd-2.0.1+cvs20090917/.pc/fix-gcc-5-ftbfs.patch/bandwidthd.h-232-
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/convert_short_php_syntax_to_long.patch/phphtdocs/failures.php-92-    	echo("<TR><TD><a href=".$r['management_url'].">".$r['sensor_name']."</A><TD>".$r['interface']."<TD>".$r['signal']);
bandwidthd-2.0.1+cvs20090917/.pc/convert_short_php_syntax_to_long.patch/phphtdocs/failures.php:93:		$res2 = pg_query("SELECT timestamp, wireless from extension_log where sensor_id = ".$r['sensor_id']." order by timestamp desc limit 3"); 
bandwidthd-2.0.1+cvs20090917/.pc/convert_short_php_syntax_to_long.patch/phphtdocs/failures.php-94-		echo("<TR><TD colspan=3><PRE>");
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/convert_short_php_syntax_to_long.patch/phphtdocs/details.php-24-if (strpos($ip, "/") === FALSE)
bandwidthd-2.0.1+cvs20090917/.pc/convert_short_php_syntax_to_long.patch/phphtdocs/details.php:25:	echo "$ip - ".gethostbyaddr($ip)."</h3>";
bandwidthd-2.0.1+cvs20090917/.pc/convert_short_php_syntax_to_long.patch/phphtdocs/details.php-26-else
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/convert_short_php_syntax_to_long.patch/phphtdocs/details.php-50-from sensors, $txtable
bandwidthd-2.0.1+cvs20090917/.pc/convert_short_php_syntax_to_long.patch/phphtdocs/details.php:51:where sensors.sensor_id = '$sensor_id'
bandwidthd-2.0.1+cvs20090917/.pc/convert_short_php_syntax_to_long.patch/phphtdocs/details.php-52-and sensors.sensor_id = ".$txtable.".sensor_id
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/convert_short_php_syntax_to_long.patch/phphtdocs/details.php-58-from sensors, $rxtable
bandwidthd-2.0.1+cvs20090917/.pc/convert_short_php_syntax_to_long.patch/phphtdocs/details.php:59:where sensors.sensor_id = '$sensor_id'
bandwidthd-2.0.1+cvs20090917/.pc/convert_short_php_syntax_to_long.patch/phphtdocs/details.php-60-and sensors.sensor_id = ".$rxtable.".sensor_id
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/convert_short_php_syntax_to_long.patch/phphtdocs/details.php-82-if (strpos($ip, "/") === FALSE)
bandwidthd-2.0.1+cvs20090917/.pc/convert_short_php_syntax_to_long.patch/phphtdocs/details.php:83:	echo "$ip</td><td>".gethostbyaddr($ip) . "</td>";
bandwidthd-2.0.1+cvs20090917/.pc/convert_short_php_syntax_to_long.patch/phphtdocs/details.php-84-else
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/convert_short_php_syntax_to_long.patch/phphtdocs/location_statistics.php-10-$location_id = $HTTP_GET_VARS['location_id'];
bandwidthd-2.0.1+cvs20090917/.pc/convert_short_php_syntax_to_long.patch/phphtdocs/location_statistics.php:11:$locations = pg_query("SELECT * from locations where id = $location_id");
bandwidthd-2.0.1+cvs20090917/.pc/convert_short_php_syntax_to_long.patch/phphtdocs/location_statistics.php-12-if (!$locations)
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/convert_short_php_syntax_to_long.patch/phphtdocs/location_statistics.php-16-
bandwidthd-2.0.1+cvs20090917/.pc/convert_short_php_syntax_to_long.patch/phphtdocs/location_statistics.php:17:$sensors = pg_query("select distinct sensor_name from sensors where location = ".$r['id']." order by sensor_name;");
bandwidthd-2.0.1+cvs20090917/.pc/convert_short_php_syntax_to_long.patch/phphtdocs/location_statistics.php-18-
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/convert_short_php_syntax_to_long.patch/phphtdocs/location_statistics.php-21-	echo("<H3>".$sensor['sensor_name']."</H3>");
bandwidthd-2.0.1+cvs20090917/.pc/convert_short_php_syntax_to_long.patch/phphtdocs/location_statistics.php:22:	$interfaces = pg_query("select * from sensors where sensor_name = '".$sensor['sensor_name']."' order by interface;");
bandwidthd-2.0.1+cvs20090917/.pc/convert_short_php_syntax_to_long.patch/phphtdocs/location_statistics.php-23-	$First = true;
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/convert_short_php_syntax_to_long.patch/phphtdocs/location_statistics.php-25-		{
bandwidthd-2.0.1+cvs20090917/.pc/convert_short_php_syntax_to_long.patch/phphtdocs/location_statistics.php:26:		$extension_log = pg_query("select * from extension_log where sensor_id = ".$interface['sensor_id']." order by timestamp desc limit 1;");
bandwidthd-2.0.1+cvs20090917/.pc/convert_short_php_syntax_to_long.patch/phphtdocs/location_statistics.php-27-		$extension = @pg_fetch_array($extension_log);
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/convert_short_php_syntax_to_long.patch/phphtdocs/sensors.php-115-
bandwidthd-2.0.1+cvs20090917/.pc/convert_short_php_syntax_to_long.patch/phphtdocs/sensors.php:116:$sql = "SELECT sensor_name, interface, sensor_id FROM sensors WHERE sensor_id = '$sensor_id';";
bandwidthd-2.0.1+cvs20090917/.pc/convert_short_php_syntax_to_long.patch/phphtdocs/sensors.php-117-$result = @pg_query($sql);
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/convert_short_php_syntax_to_long.patch/phphtdocs/sensors.php-143-from sensors, bd_tx_log
bandwidthd-2.0.1+cvs20090917/.pc/convert_short_php_syntax_to_long.patch/phphtdocs/sensors.php:144:where sensors.sensor_id = '$sensor_id'
bandwidthd-2.0.1+cvs20090917/.pc/convert_short_php_syntax_to_long.patch/phphtdocs/sensors.php-145-and sensors.sensor_id = bd_tx_log.sensor_id
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/convert_short_php_syntax_to_long.patch/phphtdocs/sensors.php-152-from sensors, bd_rx_log
bandwidthd-2.0.1+cvs20090917/.pc/convert_short_php_syntax_to_long.patch/phphtdocs/sensors.php:153:where sensors.sensor_id = '$sensor_id'
bandwidthd-2.0.1+cvs20090917/.pc/convert_short_php_syntax_to_long.patch/phphtdocs/sensors.php-154-and sensors.sensor_id = bd_rx_log.sensor_id
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/convert_short_php_syntax_to_long.patch/phphtdocs/sensors.php-224-		$url = '<a href="#' . $r['ip'] . '">';
bandwidthd-2.0.1+cvs20090917/.pc/convert_short_php_syntax_to_long.patch/phphtdocs/sensors.php:225:	echo "<tr><td>" . $url . $r['ip'] . "</a></td><td>" . gethostbyaddr($r['ip']) . "</td>";
bandwidthd-2.0.1+cvs20090917/.pc/convert_short_php_syntax_to_long.patch/phphtdocs/sensors.php-226-	echo fmtb($r['total']).fmtb($r['sent']).fmtb($r['received']).
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/convert_short_php_syntax_to_long.patch/phphtdocs/sensors.php-272-	else
bandwidthd-2.0.1+cvs20090917/.pc/convert_short_php_syntax_to_long.patch/phphtdocs/sensors.php:273:		echo $r['ip']." - ".gethostbyaddr($r['ip']);
bandwidthd-2.0.1+cvs20090917/.pc/convert_short_php_syntax_to_long.patch/phphtdocs/sensors.php-274-	echo "</a></h3>";
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/failures.php-92-    	echo("<TR><TD><a href=".$r['management_url'].">".$r['sensor_name']."</A><TD>".$r['interface']."<TD>".$r['signal']);
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/failures.php:93:		$res2 = pg_query("SELECT timestamp, wireless from extension_log where sensor_id = ".$r['sensor_id']." order by timestamp desc limit 3"); 
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/failures.php-94-		echo("<TR><TD colspan=3><PRE>");
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/location_statistics.php-10-$location_id = $HTTP_GET_VARS['location_id'];
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/location_statistics.php:11:$locations = pg_query("SELECT * from locations where id = $location_id");
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/location_statistics.php-12-if (!$locations)
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/location_statistics.php-16-
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/location_statistics.php:17:$sensors = pg_query("select distinct sensor_name from sensors where location = ".$r['id']." order by sensor_name;");
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/location_statistics.php-18-
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/location_statistics.php-21-	echo("<H3>".$sensor['sensor_name']."</H3>");
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/location_statistics.php:22:	$interfaces = pg_query("select * from sensors where sensor_name = '".$sensor['sensor_name']."' order by interface;");
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/location_statistics.php-23-	$First = true;
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/location_statistics.php-25-		{
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/location_statistics.php:26:		$extension_log = pg_query("select * from extension_log where sensor_id = ".$interface['sensor_id']." order by timestamp desc limit 1;");
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/location_statistics.php-27-		$extension = @pg_fetch_array($extension_log);
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/manage/manage_sensors.php-13-            {
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/manage/manage_sensors.php:14:			$result = pg_query("Select sensor_name from sensors where sensor_id = '$match[2]';");
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/manage/manage_sensors.php-15-			$row = pg_fetch_array($result);
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/manage/manage_sensors.php:16:			pg_query("UPDATE sensors set location = $value where sensor_name = '".$row['sensor_name']."';");
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/manage/manage_sensors.php-17-            }
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/manage/manage_sensors.php-26-    {
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/manage/manage_sensors.php:27:	$result = pg_query("select * from sensors where sensor_name = '".$HTTP_GET_VARS['del_sensor']."';");
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/manage/manage_sensors.php-28-	while ($r = @pg_fetch_array($result))
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/manage/manage_sensors.php-30-		echo("Please wait while deleting records from tables...<BR>\n");
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/manage/manage_sensors.php:31:		$sql = "delete from bd_rx_log where sensor_id = ".$r['sensor_id'];
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/manage/manage_sensors.php-32-		echo($sql."<BR>\n");
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/manage/manage_sensors.php-34-		pg_query($sql);
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/manage/manage_sensors.php:35:		$sql = "delete from bd_tx_log where sensor_id = ".$r['sensor_id'];
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/manage/manage_sensors.php-36-		echo($sql."<BR>\n");
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/manage/manage_sensors.php-38-		pg_query($sql);
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/manage/manage_sensors.php:39:		$sql = "delete from bd_tx_total_log where sensor_id = ".$r['sensor_id'];
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/manage/manage_sensors.php-40-		echo($sql."<BR>\n");
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/manage/manage_sensors.php-42-		pg_query($sql);
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/manage/manage_sensors.php:43:		$sql = "delete from bd_rx_total_log where sensor_id = ".$r['sensor_id'];
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/manage/manage_sensors.php-44-		echo($sql."<BR>\n");
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/manage/manage_sensors.php-46-		pg_query($sql);
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/manage/manage_sensors.php:47:		$sql = "delete from links where id1 = ".$r['sensor_id'];
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/manage/manage_sensors.php-48-		echo($sql."<BR>\n");
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/manage/manage_sensors.php-50-		pg_query($sql);
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/manage/manage_sensors.php:51:		$sql = "delete from links where id2 = ".$r['sensor_id'];
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/manage/manage_sensors.php-52-		echo($sql."<BR>\n");
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/manage/manage_sensors.php-54-		pg_query($sql);
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/manage/manage_sensors.php:55:		$sql = "delete from sensors where sensor_id = ".$r['sensor_id'];
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/manage/manage_sensors.php-56-		echo($sql."<BR>\n");
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/manage/manage_symbols.php-9-	{
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/manage/manage_symbols.php:10:	pg_query("INSERT INTO slices (sensor_id, direction, angle, radius) SELECT sensor_id, ".$HTTP_POST_VARS['direction']." as direction, ".$HTTP_POST_VARS['angle']." as angle, ".$HTTP_POST_VARS['radius']." as radius from sensors where sensor_name like '".$HTTP_POST_VARS['sensor_name']."%' and interface = '".$HTTP_POST_VARS['interface']."';");
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/manage/manage_symbols.php-11-	header("Location: ".$PHP_SELF);
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/manage/manage_symbols.php-16-	{
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/manage/manage_symbols.php:17:	pg_query("delete from slices where id = ".$HTTP_GET_VARS['del_slice'].";");
bandwidthd-2.0.1+cvs20090917/.pc/replace_depricated_HTTP_GET_VARS_by_GET.patch/phphtdocs/manage/manage_symbols.php-18-	header("Location: ".$PHP_SELF);
##############################################
bandwidthd-2.0.1+cvs20090917/.pc/fix-gcc-10-ftbfs.patch/bandwidthd.h-230-// ************ This function converts the numbers for each quad into an IP
bandwidthd-2.0.1+cvs20090917/.pc/fix-gcc-10-ftbfs.patch/bandwidthd.h:231:inline uint32_t IpAddr(unsigned char q1, unsigned char q2, unsigned char q3, unsigned char q4);
bandwidthd-2.0.1+cvs20090917/.pc/fix-gcc-10-ftbfs.patch/bandwidthd.h-232-
##############################################
bandwidthd-2.0.1+cvs20090917/configure.in-65-  else
bandwidthd-2.0.1+cvs20090917/configure.in:66:    LDFLAGS="$LDFLAGS -L`$PG_CONFIG --libdir` -lpq"
bandwidthd-2.0.1+cvs20090917/configure.in-67-
bandwidthd-2.0.1+cvs20090917/configure.in:68:    pgsql_cflags=`$PG_CONFIG --includedir`
bandwidthd-2.0.1+cvs20090917/configure.in-69-    if test "x$pgsql_cflags" != "x/usr/include" ; then
##############################################
bandwidthd-2.0.1+cvs20090917/graph.c-59-		alarm(10);  // Don't let gethostbyaddr hold us up too long
bandwidthd-2.0.1+cvs20090917/graph.c:60:		hostent = gethostbyaddr((char *) &addr, 4, AF_INET); // (char *)&Data->IP				
bandwidthd-2.0.1+cvs20090917/graph.c-61-		alarm(0);
##############################################
bandwidthd-2.0.1+cvs20090917/bandwidthd.h-232-// ************ This function converts the numbers for each quad into an IP
bandwidthd-2.0.1+cvs20090917/bandwidthd.h:233:inline uint32_t IpAddr(unsigned char q1, unsigned char q2, unsigned char q3, unsigned char q4);
bandwidthd-2.0.1+cvs20090917/bandwidthd.h-234-