cvs commit: src/sbin/ipfw ipfw2.c

From: Thomas Moestl <>
Date: Thu, 4 Sep 2003 08:57:37 -0700 (PDT)
tmm         2003/09/04 08:57:37 PDT

  FreeBSD src repository

  Modified files:
    sbin/ipfw            ipfw2.c 
  Apply a bandaid to get this working on sparc64 again; the introduction
  of do_cmd() broke things, because this function assumes that a socklen_t
  is large enough to hold a pointer.
  A real solution to this problem would be a rewrite of do_cmd() to
  treat the optlen parameter consistently and not use it to carry
  a pointer or integer dependent on the context.
  Revision  Changes    Path
  1.40      +4 -4      src/sbin/ipfw/ipfw2.c
Received on Thu Sep 04 2003 - 08:57:38 UTC