[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#234669: marked as done (patch for zcip-4, new option --nodefaultroute)



Your message dated Fri, 5 Dec 2008 19:56:20 GMT
with message-id <200812051956.mB5JuKWJ014975@kmos.homeip.net>
and subject line zcip has been removed from Debian, closing #234669
has caused the Debian Bug report #234669,
regarding patch for zcip-4, new option --nodefaultroute
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
234669: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=234669
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: zcip
Version: 4-4
Severity: minor

Anibal Monsalve Salazar
--
 .''`.  Debian GNU/Linux      | Building 28C
: :' :  Free Operating System | Monash University VIC 3800
`. `'   http://debian.org/    | Australia
  `-                          |

--- Begin Message ---
Hi

I use zcip on a machine with some other (more standard) interfaces.
I would thus like zcip not to add a default route through its interface.
Please consider my patch which adds an option (--nodefaultroute)
which stops zcip from adding a default route.  This patch applies to
the Debian version 4-4 of zcip.

thanks
Stuart

*** zcip-4/zcip.c	Tue Feb 24 16:04:14 2004
--- /home/pook/s/zcip-4/zcip.c	Tue Feb 24 16:08:55 2004
***************
*** 1224,1229 ****
--- 1224,1230 ----
  Zeroconf IPv4 Link-Local Address Configuration\n\
  OPTIONS:\n\
      -h, --help               Print this help, and exit.\n\
+     -d, --nodefaultroute     Do not add a default route through this interface.\n\
      -i, --interface IFNAME   Use interface IFNAME.\n\
                               If not provided it uses 'eth0'.\n\
      -r, --randseed           Seeds RNG with random # rather than MAC address.\n\
***************
*** 1252,1257 ****
--- 1253,1259 ----
          {"interface",required_argument, NULL, 'i' },
          {"randseed",no_argument, NULL, 'r'},
          {"syslog", no_argument, NULL, 's' },
+         {"nodefaultroute", no_argument, NULL, 'd' },
          {0,0,0,0},
      };
  
***************
*** 1259,1271 ****
      struct zc_if interface0;
  
      interface0.if_name = "eth0";
  
! 
!     while ((c = getopt_long(argc, argv, "rshi:v",longopts, NULL)) != EOF) {
          switch (c) {
              case 'h':
                  usage(0);
  
              case 'i':
                  interface0.if_name = optarg;
                  break;
--- 1261,1277 ----
      struct zc_if interface0;
  
      interface0.if_name = "eth0";
+     int default_route = 1;
  
!     while ((c = getopt_long(argc, argv, "drshi:v",longopts, NULL)) != EOF) {
          switch (c) {
              case 'h':
                  usage(0);
  
+             case 'd':
+                 default_route = 0;
+                 break;
+ 
              case 'i':
                  interface0.if_name = optarg;
                  break;
***************
*** 1348,1354 ****
      start_listening_for_collisions(&interface0);
  
      // use if_name as the default route
!     set_default_route(&interface0);
  
      if (claim_address(&interface0) != 0) {
          ifdown(&interface0);
--- 1354,1361 ----
      start_listening_for_collisions(&interface0);
  
      // use if_name as the default route
!     if (default_route)
!         set_default_route(&interface0);
  
      if (claim_address(&interface0) != 0) {
          ifdown(&interface0);
*** zcip-4/zcip.8	Wed Sep 11 00:14:10 2002
--- /home/pook/s/zcip-4/zcip.8	Tue Feb 24 15:30:26 2004
***************
*** 11,16 ****
--- 11,19 ----
  Link-Local Addresses'.
  .SH OPTIONS
  .TP
+ .B "[--nodefaultroute]", "[-d]"
+ Do not add a default route through this interface.
+ .TP
  .B "[--help]", "[-h]"
  Provide brief help and usage information, and exit.
  .TP

--- End Message ---

Attachment: pgplgXxczhhA3.pgp
Description: PGP signature


--- End Message ---
--- Begin Message ---
Version: 4+dfsg0-1+rm

The zcip package has been removed from Debian testing, unstable and
experimental, so I am now closing the bugs that were still opened
against it.

For more information about this package's removal, read
http://bugs.debian.org/507859 . That bug might give the reasons why
this package was removed, and suggestions of possible replacements.

Don't hesitate to reply to this mail if you have any question.

Thank you for your contribution to Debian.

--
Marco Rodrigues
http://Marco.Tondela.org


--- End Message ---

Reply to: