Author: wmb Date: 2009-07-28 06:19:31 +0200 (Tue, 28 Jul 2009) New Revision: 1256
Modified: ofw/inet/ip.fth Log: IP stack - fixed bug in broadcast-ip-addr? introduced by a recent checkin.
Modified: ofw/inet/ip.fth =================================================================== --- ofw/inet/ip.fth 2009-07-28 01:17:16 UTC (rev 1255) +++ ofw/inet/ip.fth 2009-07-28 04:19:31 UTC (rev 1256) @@ -78,9 +78,9 @@
\ Matches either h# ffffffff or h# 0 or subnet-specific broadcast addr : broadcast-ip-addr? ( adr-buf -- flag ) - dup broadcast-ip-addr ip= - swap def-broadcast-ip ip= or - over unknown-ip-addr? or + dup broadcast-ip-addr ip= ( adr-buf flag ) + over def-broadcast-ip ip= or ( adr-buf flag ) + swap unknown-ip-addr? or ( flag ) ;
: netmask ( -- 'ip )
openfirmware@openfirmware.info