]> git.proxmox.com Git - mirror_frr.git/log
mirror_frr.git
19 years ago2004-10-31 Paul Jakma <paul@dishone.st>
paul [Sun, 31 Oct 2004 16:19:24 +0000 (16:19 +0000)]
2004-10-31 Paul Jakma <paul@dishone.st>

* memory.h: Add MTYPE_THREAD_FUNCNAME and MTYPE_THREAD_STATS
* thread.c: Update stats and funcname alloc/free to use previous
  specific memory type defines

19 years ago2004-10-31 Paul Jakma <paul@dishone.st>
paul [Sun, 31 Oct 2004 16:15:33 +0000 (16:15 +0000)]
2004-10-31 Paul Jakma <paul@dishone.st>

* keychain.c: Convert some more strtoul users to VTY_GET_INTEGER.

19 years ago2004-10-31 Paul Jakma <paul@dishone.st>
paul [Sun, 31 Oct 2004 11:24:51 +0000 (11:24 +0000)]
2004-10-31 Paul Jakma <paul@dishone.st>

* ospf_packet.c: (ospf_write_frags) Add debug output
  (ospf_write) set type early, so we can pass it to
  ospf_write_frags.
  (ospf_ls_upd_packet_new) print size in debug output when too large
  packet is encountered.

19 years ago- update cvs ignore, ignore quagga.dvi, quagga.ps, etc.
paul [Sun, 31 Oct 2004 11:21:16 +0000 (11:21 +0000)]
- update cvs ignore, ignore quagga.dvi, quagga.ps, etc.

19 years ago2004-10-31 Paul Jakma <paul@dishone.st>
paul [Sun, 31 Oct 2004 02:13:09 +0000 (02:13 +0000)]
2004-10-31 Paul Jakma <paul@dishone.st>

* vty.c: As per Andrew's suggestions..
  (vty_serv_un) remove flags.
  (vtysh_accept) close socket if we cant set NONBLOCK. Add flags.

19 years ago2004-10-29 Paul Jakma <paul@dishone.st>
paul [Fri, 29 Oct 2004 08:29:36 +0000 (08:29 +0000)]
2004-10-29 Paul Jakma <paul@dishone.st>

* vty.c: Move setting of sock to O_NONBLOCK from vty_serv_un
  to vtysh_accept, where sock is the actual fd we wanted to set to
          O_NONBLOCK, ie the /connected/ vtysh unix socket.

19 years ago- lib/ dir shouldnt be conditional, remove bad dir attribute from dev files
paul [Fri, 29 Oct 2004 05:35:43 +0000 (05:35 +0000)]
- lib/ dir shouldnt be conditional, remove bad dir attribute from dev files

19 years ago"show running-daemons" -> "show daemons".
hasso [Thu, 28 Oct 2004 17:43:11 +0000 (17:43 +0000)]
"show running-daemons" -> "show daemons".

19 years agoRemove dead "ip tunnel" command.
hasso [Thu, 28 Oct 2004 17:32:27 +0000 (17:32 +0000)]
Remove dead "ip tunnel" command.

19 years agoFix help of "show debugging ripng" command.
hasso [Tue, 26 Oct 2004 06:39:56 +0000 (06:39 +0000)]
Fix help of "show debugging ripng" command.

19 years ago2004-10-25 Paul Jakma <paul@dishone.st>
paul [Mon, 25 Oct 2004 14:19:15 +0000 (14:19 +0000)]
2004-10-25 Paul Jakma <paul@dishone.st>

* Update with fix in debian bug id 222930.
* bgp_main.c: Add ZCAP_RAW, needed to bind to interfaces.
  bgp_network.c: (....) raise/lower privs around call to
          SO_BINDTODEVICE sockopt.

19 years agoYet another breakage introduced in May with zserv cleanup.
hasso [Sat, 23 Oct 2004 14:26:49 +0000 (14:26 +0000)]
Yet another breakage introduced in May with zserv cleanup.

19 years ago- andrew's service adding change to detect existing entries reliably
paul [Sat, 23 Oct 2004 00:48:51 +0000 (00:48 +0000)]
- andrew's service adding change to detect existing entries reliably

19 years ago- update with andrew's modifications
paul [Sat, 23 Oct 2004 00:05:41 +0000 (00:05 +0000)]
- update with andrew's modifications
- enable irdp by default again

19 years ago2004-10-23 Paul Jakma <paul@dishone.st>
paul [Fri, 22 Oct 2004 23:53:19 +0000 (23:53 +0000)]
2004-10-23 Paul Jakma <paul@dishone.st>

* configure.ac: bump version to 0.97.2, release imminent.

19 years ago2004-10-23 Paul Jakma <paul@dishone.st>
paul [Fri, 22 Oct 2004 23:24:43 +0000 (23:24 +0000)]
2004-10-23 Paul Jakma <paul@dishone.st>

* zebra.h: reserve ZEBRA_ROUTE_HSLS

19 years ago- credit rix for fixing openbsd
paul [Fri, 22 Oct 2004 22:52:33 +0000 (22:52 +0000)]
- credit rix for fixing openbsd

19 years ago2004-10-22 Paul Jakma <paul@dishone.st>
paul [Fri, 22 Oct 2004 17:00:38 +0000 (17:00 +0000)]
2004-10-22 Paul Jakma <paul@dishone.st>

* ospfd/ospf_packet.c: setsockopt_pktinfo -> setsockopt_ifindex
* zebra/irdp_main.c: ditto

19 years ago2004-10-22 Paul Jakma <paul@dishone.st>
paul [Fri, 22 Oct 2004 16:55:10 +0000 (16:55 +0000)]
2004-10-22 Paul Jakma <paul@dishone.st>

* sockopt.h: Fix elif that should be an else.

19 years ago2004-10-22 Paul Jakma <paul@dishone.st>
paul [Fri, 22 Oct 2004 12:27:44 +0000 (12:27 +0000)]
2004-10-22 Paul Jakma <paul@dishone.st>

* command.h: Cleanup the defines a bit, add helper defines and
  collapse all defines to use those. Add an attribute field to
  cmd_element to support, eg hidden or deprecated commands, add
          defun defines for such. All that's left to do is add logic
          to command.c to check these attributes... ;)

19 years ago2004-10-22 Paul Jakma <paul@dishone.st>
paul [Fri, 22 Oct 2004 12:05:17 +0000 (12:05 +0000)]
2004-10-22 Paul Jakma <paul@dishone.st>

* ospf_network.c: (ospf_sock_init) call neutral setsock_ifindex()
          function.
        * ospf_packet.c: (ospf_read) manually look up ifindex
          if system could not have returned one, eg openbsd.

19 years ago2004-10-22 Paul Jakma <paul@dishone.st>
paul [Fri, 22 Oct 2004 11:51:57 +0000 (11:51 +0000)]
2004-10-22 Paul Jakma <paul@dishone.st>

        * sockopt.c: (setsockopt_pktinfo) unexported
* sockopt.h: Cleanup SOCKOPT_CMSG defines a bit. Add a throwaway
          define for SOPT_SIZE_CMSG_IFINDEX_IPV4 for systems which have
          neither IP_RECVIF nor IP_PKTINFO (eg openbsd).

19 years ago2004-10-13 Paul Jakma <paul@dishone.st>
paul [Fri, 22 Oct 2004 10:54:39 +0000 (10:54 +0000)]
2004-10-13 Paul Jakma <paul@dishone.st>

* sockopt.c: (getsockopt_ipv4_ifindex) no ifindex should be 0, not
          -1.

19 years ago2004-10-22 Paul Jakma <paul@dishone.st>
paul [Fri, 22 Oct 2004 10:27:28 +0000 (10:27 +0000)]
2004-10-22 Paul Jakma <paul@dishone.st>

* ripd.c: Collapse redundant passing of various address structs,
          struct interface and struct connected as arguments to functions
          down to two key arguments, namely struct connected and, possibly,
          address of source/destination. Testing for RIPv1 would be useful.
          (rip_read) lookup struct connected for the received packet, pass
          it on.
        * rip_interface.c: With previous changes, we no longer have to tread
          carefully with struct connected, as it will always be there and
          valid.

19 years ago2004-10-22 Paul Jakma <paul@dishone.st>
paul [Fri, 22 Oct 2004 04:55:05 +0000 (04:55 +0000)]
2004-10-22 Paul Jakma <paul@dishone.st>

* configure.ac: fix up enable help alignment slightly
          Add --enable-gcc-ultra-verbose to set various gcc warnings which
          should one day be fixed but are not serious problems or which
          could be false-positives.

19 years agoDon't popen pager if command is "exit". Fixes "vtysh screws up my terminal
hasso [Wed, 20 Oct 2004 19:07:48 +0000 (19:07 +0000)]
Don't popen pager if command is "exit". Fixes "vtysh screws up my terminal
if I exit" issue.

19 years agoSmall copyright string and hostname related cleanup.
hasso [Tue, 19 Oct 2004 20:40:08 +0000 (20:40 +0000)]
Small copyright string and hostname related cleanup.

19 years agoOK. Here it is - PtP patch from Andrew J. Schorr. No problems with ospfd,
hasso [Tue, 19 Oct 2004 19:44:43 +0000 (19:44 +0000)]
OK. Here it is - PtP patch from Andrew J. Schorr. No problems with ospfd,
ripd might need some more testing though.

19 years ago- From Andrew Schorr, fixup logrotate to use correct path to killall
paul [Tue, 19 Oct 2004 14:41:56 +0000 (14:41 +0000)]
- From Andrew Schorr, fixup logrotate to use correct path to killall
  and use the pid file.

19 years agoFix regression. It seems to me that this code still works only by accident
hasso [Tue, 19 Oct 2004 06:26:01 +0000 (06:26 +0000)]
Fix regression. It seems to me that this code still works only by accident
though. Needs serious cleanup.

19 years agoMissing comma.
hasso [Thu, 14 Oct 2004 23:07:37 +0000 (23:07 +0000)]
Missing comma.

19 years agoMake dump configuration appear in vtysh.
hasso [Wed, 13 Oct 2004 21:32:46 +0000 (21:32 +0000)]
Make dump configuration appear in vtysh.

19 years agoLadies and Gentlemens. This file is dead for years, from 1999 to be exact.
hasso [Wed, 13 Oct 2004 20:59:04 +0000 (20:59 +0000)]
Ladies and Gentlemens. This file is dead for years, from 1999 to be exact.

19 years ago- fix date in changelog of my last commit..
paul [Wed, 13 Oct 2004 14:52:22 +0000 (14:52 +0000)]
- fix date in changelog of my last commit..

19 years ago* zserv.c: Remove useless warnings "forwarding is already on".
hasso [Wed, 13 Oct 2004 12:20:35 +0000 (12:20 +0000)]
* zserv.c: Remove useless warnings "forwarding is already on".

19 years agoMake initializing smux connection configurable - "smux peer OID" command
hasso [Wed, 13 Oct 2004 10:33:26 +0000 (10:33 +0000)]
Make initializing smux connection configurable - "smux peer OID" command
initializes connection, and "no smux peer" command terminates it. Fixes
bugzilla #47 and #112.

19 years agoUnbreak compilation with ospfapi disabled. We should seriously think about
hasso [Wed, 13 Oct 2004 09:32:48 +0000 (09:32 +0000)]
Unbreak compilation with ospfapi disabled. We should seriously think about
reducing various configure options.

19 years agoAll access lists (IPv4 and IPv6) are used by all daemons to limit access to
hasso [Wed, 13 Oct 2004 08:47:32 +0000 (08:47 +0000)]
All access lists (IPv4 and IPv6) are used by all daemons to limit access to
vty.

19 years agoInitialize access lists here as well.
hasso [Wed, 13 Oct 2004 08:36:47 +0000 (08:36 +0000)]
Initialize access lists here as well.

19 years agoFix critical bugzilla #113. Make CMD_ERR_NOTHING_TODO nonfatal.
hasso [Wed, 13 Oct 2004 08:18:07 +0000 (08:18 +0000)]
Fix critical bugzilla #113. Make CMD_ERR_NOTHING_TODO nonfatal.

19 years ago2004-10-13 Paul Jakma <paul@dishone.st>
paul [Wed, 13 Oct 2004 05:22:18 +0000 (05:22 +0000)]
2004-10-13 Paul Jakma <paul@dishone.st>

* (global) more const'ification.
* sockunion.c: (sockunion_su2str) buffer should be sized
          SU_ADDRSTRLEN.
          (sockunion_log) do not return stack variables, strdup buf before
          return.
        * vty.h: Fix up the VTY_GET_INTEGER macros. Testing caller supplied
          values against ULONG_MAX is daft, when caller probably has passed
          a type that can not hold ULONG_MAX. use a temporary long instead.
          Add VTY_GET_LONG, make VTY_GET_INTEGER_RANGE use it, make
  VTY_GET_INTEGER a define for VTY_GET_INTEGER_RANGE.

19 years ago2004-10-13 Paul Jakma <paul@dishone.st>
paul [Wed, 13 Oct 2004 05:06:08 +0000 (05:06 +0000)]
2004-10-13 Paul Jakma <paul@dishone.st>

* (global) more const'ification and fixups of types to clean up code.
* bgp_mplsvpn.{c,h}: (str2tag) fix abuse. Still not perfect,
          should use something like the VTY_GET_INTEGER macro, but without
          the vty_out bits..
        * bgp_routemap.c: (set_aggregator_as) use VTY_GET_INTEGER_RANGE
          (no_set_aggregator_as) ditto.
        * bgpd.c: (peer_uptime) fix unlikely bug, where no buffer is
          returned, add comments about troublesome return value.

19 years agoSome compiler warnings fixes and fix for bugzilla #119.
hasso [Tue, 12 Oct 2004 20:50:58 +0000 (20:50 +0000)]
Some compiler warnings fixes and fix for bugzilla #119.

19 years agoUnbreak "show ip route" command.
hasso [Tue, 12 Oct 2004 15:55:19 +0000 (15:55 +0000)]
Unbreak "show ip route" command.

19 years agoUnbreak ospfclient compilation.
hasso [Tue, 12 Oct 2004 06:13:54 +0000 (06:13 +0000)]
Unbreak ospfclient compilation.

19 years agoospf6d supports SNMP as well now.
hasso [Tue, 12 Oct 2004 06:05:34 +0000 (06:05 +0000)]
ospf6d supports SNMP as well now.

19 years ago2004-10-11 Paul Jakma <paul@dishone.st>
paul [Mon, 11 Oct 2004 18:26:59 +0000 (18:26 +0000)]
2004-10-11 Paul Jakma <paul@dishone.st>

* bump version to 0.97.1, release imminent.

19 years ago2004-09-17 Paul Jakma <paul@dishone.st>
paul [Mon, 11 Oct 2004 18:21:55 +0000 (18:21 +0000)]
2004-09-17 Paul Jakma <paul@dishone.st>

* vtysh.c: (vtysh_client_execute) fix the sync fix. The 4th and
  final sync byte is not ASCII NULL, it's actually a status integer,
  and only ASCII NULL if CMD_SUCCESS is returned by daemon.
  Fix pointed out by Hasso.

19 years agoBetter common router-id handling.
hasso [Mon, 11 Oct 2004 17:02:40 +0000 (17:02 +0000)]
Better common router-id handling.

19 years agoUpdate NEWS - apiserver is disabled by default now.
hasso [Mon, 11 Oct 2004 16:29:29 +0000 (16:29 +0000)]
Update NEWS - apiserver is disabled by default now.

19 years agoDisable ospfapi init by default.
hasso [Mon, 11 Oct 2004 16:27:03 +0000 (16:27 +0000)]
Disable ospfapi init by default.

19 years ago2004-10-11 Paul Jakma <paul@dishone.st>
paul [Mon, 11 Oct 2004 14:33:23 +0000 (14:33 +0000)]
2004-10-11 Paul Jakma <paul@dishone.st>

* ospfd.texi: reformat the ospf md5 paragraph, add an additional
  way to work around bad clocks.

19 years agoFix warnings here.
hasso [Mon, 11 Oct 2004 13:20:40 +0000 (13:20 +0000)]
Fix warnings here.

19 years agoSync isisd with changes in lib.
hasso [Mon, 11 Oct 2004 13:11:56 +0000 (13:11 +0000)]
Sync isisd with changes in lib.

19 years agoSync with changes in lib. Make more strings const.
hasso [Mon, 11 Oct 2004 12:57:57 +0000 (12:57 +0000)]
Sync with changes in lib. Make more strings const.

19 years agoSome more const string fixes.
hasso [Mon, 11 Oct 2004 12:53:17 +0000 (12:53 +0000)]
Some more const string fixes.

19 years agoCommas -> dots.
hasso [Mon, 11 Oct 2004 12:14:22 +0000 (12:14 +0000)]
Commas -> dots.

19 years ago2004-10-11 Paul Jakma <paul@dishone.st>
paul [Mon, 11 Oct 2004 11:28:44 +0000 (11:28 +0000)]
2004-10-11 Paul Jakma <paul@dishone.st>

* if.h: mtu's should be unsigned.
* routemap.{c,h}: const char updates
* smux.{c,h}: ditto

19 years ago2004-10-11 Paul Jakma <paul@dishone.st>
paul [Mon, 11 Oct 2004 11:00:30 +0000 (11:00 +0000)]
2004-10-11 Paul Jakma <paul@dishone.st>

* (global) Const char update and signed/unsigned fixes.
* (various headers) size defines should be unsigned.
* ospf_interface.h: remove duplicated defines, include the
  authoritative header - though, these defines should probably
          be moved to a dedicated header, or ospfd.h.
* ospf_lsa.h: (struct lsa) ls_seqnum should be unsigned.
* ospf_packet.c: (ospf_write) cast result of shift to unsigned.

19 years ago2004-10-11 Paul Jakma <paul@dishone.st>
paul [Mon, 11 Oct 2004 10:11:25 +0000 (10:11 +0000)]
2004-10-11 Paul Jakma <paul@dishone.st>

* ospf_dump.c: (ospf_ip_header_dump) Assume header is in host order
  remove ntohs that should have dissappeared. Take struct ip
  as argument, caller has to know there's an IP header at start of
  stream anyway.
* ospf_dump.h: update declaration of ospf_ip_header_dump.
* ospf_packet.c: (ospf_write) correct call to
  sockopt_iphdrincl_swab_htosys which was munging the header.
  (ospf_recv_packet) ip_len is needed for old OpenBSD fixup.
  (ospf_read) sockopt_iphdrincl_swab_systoh ip header as soon as
  we have it.

19 years ago2004-10-11 Paul Jakma <paul@dishone.st>
paul [Mon, 11 Oct 2004 09:40:58 +0000 (09:40 +0000)]
2004-10-11 Paul Jakma <paul@dishone.st>

* thread.c: (funcname_thread_add_timer)
  (funcname_thread_add_timer_msec) Fix mistakes from last change.
  Pointed out by Liu Xin in [quagga-dev 1609].

19 years ago2004-10-10 Paul Jakma <paul@dishone.st>
paul [Sun, 10 Oct 2004 12:54:58 +0000 (12:54 +0000)]
2004-10-10 Paul Jakma <paul@dishone.st>

* ospf6_route.c: Add const qualifier to various char arrays of
          constants. signed/unsigned fixes.
          (ospf6_linkstate_table_show) argv is const
        * ospf6_snmp.c: listnode typedef is dead.
          (ospf6_snmp_init) Take struct thread_master arg, needed for
          smux_init.
        * ospf6_snmp.h: update ospf6_snmp_init declaration.
        * ospf6d.c: (ospf6_init) add const qualifier to sargv, pass master
          to ospf_snmp6_init.
* ospf6_asbr.c: const char update.
* ospf6_interface.c: ditto, plus signed/unsigned fixes.
  (ipv6_ospf6_cost) Check whether cost fits in u_int32_t and use
          strtoul.
* ospf6_intra.c: const char update. Parenthesise expression.
* ospf6_lsa.c: signed/unsigned and const char updates.
* ospf6_proto.c: ditto.
* ospf6_message.c: ditto.
* ospf6_lsdb.c: signed/unsigned update.
* ospf6_main.c: const char update.
* ospf6_neighbor.c: ditto.
* ospf6_spf.c: ditto.
* ospf6_top.c: ditto.

19 years ago2004-10-10 Paul Jakma <paul@dishone.st>
paul [Sun, 10 Oct 2004 11:56:56 +0000 (11:56 +0000)]
2004-10-10 Paul Jakma <paul@dishone.st>

* version.h.in: (pid_output*) add const qualifier.
* command.h: Change DEFUN func to take const char *[] rather
          than char **, to begin process of fixing compile warnings in lib/.
          Nearly all other changes in this commit follow from this change.
        * buffer.{c,h}: (buffer_write) pointer-arithmetic is gccism, take
          const void * and cast an automatic const char *p to it.
          (buffer_putstr) add const
        * command.c: (zencrypt) const qualifier
          (cmd_execute_command_real) ditto
          (cmd_execute_command_strict) ditto
          (config_log_file) ditto.
          Fix leak of getcwd() returned string.
        * memory.{c,h}: Add MTYPE_DISTRIBUTE_IFNAME for struct dist ifname.
        * distribute.{c,h}: Update with const qualifier.
          (distribute_free) use MTYPE_DISTRIBUTE_IFNAME
          (distribute_lookup) Cast to char *, note that it's ok.
          (distribute_hash_alloc) use MTYPE_DISTRIBUTE_IFNAME.
          (distribute_get)  Cast to char *, note that it's ok.
        * filter.c: Update with const qualifier.
        * if.{c,h}: ditto.
        * if_rmap.{c,h}: ditto.
          (if_rmap_lookup) Cast to char *, note that it's ok.
          (if_rmap_get) ditto.
        * log.{c,h}: Update with const qualifier.
        * plist.{c,h}: ditto.
        * routemap.{c,h}: ditto.
        * smux.{c,h}: ditto. Fix some signed/unsigned comparisons.
        * sockopt.c: (getsockopt_cmsg_data) add return for error case.
        * vty.c: Update with const qualifier.

19 years ago2004-10-10 Paul Jakma <paul@dishone.st>
paul [Sun, 10 Oct 2004 08:07:29 +0000 (08:07 +0000)]
2004-10-10 Paul Jakma <paul@dishone.st>

* Makefile.am: fix listing of ospf_snmp.c in noinst_HEADERS

19 years ago2004-10-05 Paul Jakma <paul@dishone.st>
paul [Sun, 10 Oct 2004 08:03:18 +0000 (08:03 +0000)]
2004-10-05 Paul Jakma <paul@dishone.st>

* version.h.in: (pid_output*) add const qualifier.

19 years agoMerge svn revisions 1065 and 1066 from Zebra CVS.
hasso [Fri, 8 Oct 2004 12:04:21 +0000 (12:04 +0000)]
Merge svn revisions 1065 and 1066 from Zebra CVS.

19 years agoCompiler warnings fixes round 1.
hasso [Fri, 8 Oct 2004 08:17:22 +0000 (08:17 +0000)]
Compiler warnings fixes round 1.

19 years agoArgh, fix typo.
hasso [Fri, 8 Oct 2004 06:40:24 +0000 (06:40 +0000)]
Argh, fix typo.

19 years agoThere is no warnings here any more.
hasso [Fri, 8 Oct 2004 06:36:38 +0000 (06:36 +0000)]
There is no warnings here any more.

19 years agoOnly warning left is the known lvalue problem in ripng_nexthop.c.
hasso [Fri, 8 Oct 2004 06:32:23 +0000 (06:32 +0000)]
Only warning left is the known lvalue problem in ripng_nexthop.c.

19 years agoMore const strings.
hasso [Fri, 8 Oct 2004 06:29:12 +0000 (06:29 +0000)]
More const strings.

19 years agoAlthough we don't look at current directory for config any more, it's nice
hasso [Fri, 8 Oct 2004 06:27:23 +0000 (06:27 +0000)]
Although we don't look at current directory for config any more, it's nice
to have modified config file here for development.

19 years ago2004-10-05 Paul Jakma <paul@dishone.st>
paul [Fri, 8 Oct 2004 01:36:54 +0000 (01:36 +0000)]
2004-10-05 Paul Jakma <paul@dishone.st>

* version.h.in: print_version declaration is here, not in autoconf
  generated version.h.

19 years ago- ospfclient should be in -devel package, if anywhere.
paul [Fri, 8 Oct 2004 00:49:09 +0000 (00:49 +0000)]
- ospfclient should be in -devel package, if anywhere.

19 years agoVtysh compiles cleanly as well.
hasso [Thu, 7 Oct 2004 21:40:25 +0000 (21:40 +0000)]
Vtysh compiles cleanly as well.

19 years agoEven more const strings and fix to bugfix.
hasso [Thu, 7 Oct 2004 21:32:14 +0000 (21:32 +0000)]
Even more const strings and fix to bugfix.

19 years ago2004-10-07 Paul Jakma <paul@dishone.st>
paul [Thu, 7 Oct 2004 20:38:44 +0000 (20:38 +0000)]
2004-10-07 Paul Jakma <paul@dishone.st>

* ChangeLog: commit this too...
* bump version to 0.97.0, release imminent.

19 years agoFix warnings. Didn't even look at files not compiled in Linux though.
hasso [Thu, 7 Oct 2004 20:29:24 +0000 (20:29 +0000)]
Fix warnings. Didn't even look at files not compiled in Linux though.

19 years agoNo warnings here any more.
hasso [Thu, 7 Oct 2004 20:07:40 +0000 (20:07 +0000)]
No warnings here any more.

19 years ago2004-10-07 Greg Troxel <gdt@claude.ir.bbn.com>
gdt [Thu, 7 Oct 2004 19:38:20 +0000 (19:38 +0000)]
2004-10-07  Greg Troxel  <gdt@claude.ir.bbn.com>

        * ospf_apiserver.c (ospf_apiserver_unregister_opaque_type): Don't
        use of variable names 'node' and 'nextnode' to avoid possible
        conflict with list macros.  Move variable declaration inside for
        loop after a statement to top of function.

19 years agoMake more strings const.
hasso [Thu, 7 Oct 2004 19:33:46 +0000 (19:33 +0000)]
Make more strings const.

19 years ago2004-10-07 Paul Jakma <paul@dishone.st>
paul [Thu, 7 Oct 2004 16:25:49 +0000 (16:25 +0000)]
2004-10-07 Paul Jakma <paul@dishone.st>

* bump version to 0.97.0, release imminent.

19 years ago- make specfile actually work
paul [Thu, 7 Oct 2004 16:23:36 +0000 (16:23 +0000)]
- make specfile actually work

19 years ago2004-10-07 Paul Jakma <paul@dishone.st>
paul [Thu, 7 Oct 2004 14:19:36 +0000 (14:19 +0000)]
2004-10-07 Paul Jakma <paul@dishone.st>

* ospf_snmp.c: Missed list typedef update
* ospf_dump.c: Include sockopt.h for header swab functions.

19 years ago2004-10-07 Greg Troxel <gdt@sunpal7.mit.edu>
gdt [Thu, 7 Oct 2004 13:53:29 +0000 (13:53 +0000)]
2004-10-07  Greg Troxel  <gdt@sunpal7.mit.edu>

        * configure.ac: remove -Wpacked; 2.95.3 doesn't support it.

19 years agoNumber of warnings is down to 3 again in lib directory. A lot of const's
hasso [Tue, 5 Oct 2004 21:01:23 +0000 (21:01 +0000)]
Number of warnings is down to 3 again in lib directory. A lot of const's
added to strings and a lot of int -> unsigned int changes.

19 years ago2004-10-05 Paul Jakma <paul@dishone.st>
paul [Tue, 5 Oct 2004 14:57:50 +0000 (14:57 +0000)]
2004-10-05 Paul Jakma <paul@dishone.st>

* thread.c: (funcname_thread_add_timer_timeval) new function, add
          timer at specified timeval.
  (funcname_thread_add_timer) use funcname_thread_add_timer_timeval.
  (funcname_thread_add_timer_msec) ditto

19 years ago2004-10-05 Paul Jakma <paul@dishone.st>
paul [Tue, 5 Oct 2004 14:39:43 +0000 (14:39 +0000)]
2004-10-05 Paul Jakma <paul@dishone.st>

* irdp_packet.c: (parse_irdp_packet) style issues.
  Use sockopt_iphdrincl_swab_systoh.
          Try unbork the code. Checksum the ICMP data and actually
          compare it to received checksum. Check data length against
          claimed length in header.
  Always use ntoh.. when accessing addresses, even when the
          comparison happens to be endian-safe.
  (send_packet) minor style isues. Use
          sockopt_iphdrincl_swab_htosys.
  (irdp_iph_hton/ntoh) IP header to/from network/host order.

19 years ago2004-10-05 Paul Jakma <paul@dishone.st>
paul [Tue, 5 Oct 2004 14:38:29 +0000 (14:38 +0000)]
2004-10-05 Paul Jakma <paul@dishone.st>

* ospf_packet.c: replace ospf_swap_iph_to... with
          sockopt_iphdrincl_swab_...

19 years ago2004-10-05 Paul Jakma <paul@dishone.st>
paul [Tue, 5 Oct 2004 14:33:43 +0000 (14:33 +0000)]
2004-10-05 Paul Jakma <paul@dishone.st>

* sockopt.{c,h}: add sockopt_iphdrincl_swab_{htosys,systoh},
          functions to change byte order between system IP_HDRINCL order
          and host order.

19 years agoEven my time is limited :).
hasso [Tue, 5 Oct 2004 14:15:17 +0000 (14:15 +0000)]
Even my time is limited :).

19 years agoRemove dead files.
hasso [Tue, 5 Oct 2004 14:09:04 +0000 (14:09 +0000)]
Remove dead files.

19 years agoFirst small part of lib cleanup. Mainly "constification" of arguments and
hasso [Mon, 4 Oct 2004 19:10:31 +0000 (19:10 +0000)]
First small part of lib cleanup. Mainly "constification" of arguments and
adding FIXME's.

19 years agoEvery file includes it and warns about it.
hasso [Mon, 4 Oct 2004 08:01:08 +0000 (08:01 +0000)]
Every file includes it and warns about it.

19 years agoDocument stuff I broke today.
hasso [Sun, 3 Oct 2004 20:21:38 +0000 (20:21 +0000)]
Document stuff I broke today.

19 years agoBig vtysh cleanup. See changelogs for details.
hasso [Sun, 3 Oct 2004 20:11:32 +0000 (20:11 +0000)]
Big vtysh cleanup. See changelogs for details.

19 years agoNew way to handle secondary addresses from Gilad Arnold.
hasso [Sun, 3 Oct 2004 18:46:08 +0000 (18:46 +0000)]
New way to handle secondary addresses from Gilad Arnold.

19 years agoCommon router id.
hasso [Sun, 3 Oct 2004 18:18:34 +0000 (18:18 +0000)]
Common router id.

20 years ago2004-09-30 Paul Jakma <paul@dishone.st>
paul [Thu, 30 Sep 2004 06:08:58 +0000 (06:08 +0000)]
2004-09-30 Paul Jakma <paul@dishone.st>

* Update default CFLAGS for gcc to keep Hasso busy.

20 years ago* Wed Sep 15 2004 Paul Jakma <paul@dishone.st>
paul [Thu, 30 Sep 2004 04:56:26 +0000 (04:56 +0000)]
* Wed Sep 15 2004 Paul Jakma <paul@dishone.st>
- build snmp support by default
- build irdp support
- build with shared libs
- devel subpackage for archives and headers