Commit Graph

297 Commits

Author SHA1 Message Date
Chris Caputo
e4d72f0505 Fix user-defined format stack-smash ability.
'-F' option: Avoids risk of stack-smashing which was ever so present,
by just fprintf'ing directly to output stream.
2020-03-11 16:22:46 +00:00
Chris Caputo
b71aa3f21d Compiler warning fixes and improved error handling.
Fixes multiple:
  warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
  warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]

Improves some error messages.
2020-03-08 22:57:45 +00:00
Chris Caputo
d8fbae0643 Make A query test only be performed when needed.
Saves an RTT.
2020-03-08 22:51:37 +00:00
Job Snijders
b8e92b5456 update readme 2020-01-03 15:43:29 +01:00
Job Snijders
20d04b5d54 Release 0.0.5 0.0.5 2020-01-01 19:19:35 +01:00
Job Snijders
de3c94ac9d Unbreak -G
(And some formatting changes)

Thanks for reporting sthen@openbsd.org!
2020-01-01 17:49:28 +01:00
Job Snijders
0a49b8a6ea Move -S to Input filter 2019-12-31 14:47:41 +01:00
Job Snijders
cfa1a00433 Add -v version command line option 2019-12-31 14:36:44 +01:00
Job Snijders
ef9889dda3 Move -L to input filters 2019-12-31 14:24:01 +01:00
Job Snijders
fb6fde65c8 Rework usage() 2019-12-31 14:19:12 +01:00
Job Snijders
e9f4eeaa57 Update usage() 2019-12-31 14:04:26 +01:00
Job Snijders
f5ba86dfa5 Change prompt in docs 2019-12-31 13:29:05 +01:00
Job Snijders
425e8dbdb4 Make the -3 command line option a no-op 2019-12-31 13:24:12 +01:00
Job Snijders
d3eb845c9b Remove -3 option from docs 2019-12-31 13:11:18 +01:00
Job Snijders
8b5459cf05 Add additional debug lines 2019-12-31 11:32:25 +01:00
Job Snijders
fd34dd8fa3 Bump version to 0.0.4 0.0.4 2019-12-31 00:13:33 +00:00
Job Snijders
bc16d6fb45 Merge branch 'master' of github.com:bgp/bgpq4 2019-12-31 00:02:31 +00:00
Job Snijders
10cdd5656d Remove the option to disable 32-bit ASN support
This removes the '-3' command line option and fixes #3.
2019-12-30 23:58:47 +00:00
Job Snijders
72eed80603 Merge pull request #20 from mrngm/master
Remove superfluous semi-colon after closing brace
2019-12-30 19:59:49 +00:00
Gerdriaan Mulder
4a2fe3d966 Remove superfluous semi-colon after closing brace 2019-12-30 20:55:38 +01:00
Job Snijders
484ae33948 Update changelog 2019-12-30 18:35:16 +00:00
Job Snijders
50d4dbaf28 Remove support to expand as23456 entirely 2019-12-30 18:33:35 +00:00
Job Snijders
824436099d Update .spec file 2019-12-30 18:23:06 +00:00
Job Snijders
3c4f0ad276 Update small bits 2019-12-30 18:18:39 +00:00
Job Snijders
96eccd146a More cleanup 2019-12-30 18:12:28 +00:00
Job Snijders
07db38c432 Merge branch 'style9' 2019-12-30 18:02:01 +00:00
Job Snijders
7d6c4421de Apply OpenBSD's style(9) code formatting 2019-12-30 18:00:53 +00:00
Job Snijders
156ff46032 Merge pull request #19 from sthen/patch-3
use pledge() on OpenBSD
2019-12-30 17:14:40 +00:00
Stuart Henderson
e5df35884c use pledge() if available 2019-12-30 16:54:44 +00:00
Stuart Henderson
92249a3e6a check for existence of pledge() 2019-12-30 16:37:39 +00:00
Job Snijders
e3974c5469 Remove P command line option 2019-12-30 12:47:47 +00:00
Job Snijders
a62f4031c4 Merge pull request #16 from sthen/patch-1
add -K to usage() short summary
2019-12-30 12:33:02 +00:00
Job Snijders
b94ab9bc20 Merge pull request #17 from sthen/patch-2
avoid null deref in sx_radix_node_freeall
2019-12-30 12:32:43 +00:00
Stuart Henderson
bda0408c9e avoid null deref in sx_radix_node_freeall
Fixes segfault if querying an AS with no route objects (e.g 65000).
2019-12-30 11:35:04 +00:00
Stuart Henderson
4b4ffafeb1 add -K to usage() short summary 2019-12-30 11:20:47 +00:00
Job Snijders
7fa7e76d8e Release bgpq4 0.0.3 0.0.3 2019-12-30 03:35:22 +00:00
Job Snijders
2e2a8255b8 Implement support for the A query
This should significantly speed up common uses of this program
2019-12-30 03:32:53 +00:00
Job Snijders
d97ced248a First of all, identify the client 2019-12-30 02:24:19 +00:00
Job Snijders
e3d00a8e5f Make making slightly prettier 2019-12-25 14:14:05 +00:00
Job Snijders
cc404908f2 Fix building on CentOS
Thanks Peter van Dijk (PowerDNS)!
2019-12-25 14:06:17 +00:00
Job Snijders
e9e6d3b9bf Fix typo in Makefile 2019-12-22 17:27:19 +01:00
Job Snijders
b287e76598 Update contributors list 2019-12-22 17:22:44 +01:00
Job Snijders
7b9cf81259 Alphabetically order make sources 2019-12-22 17:16:52 +01:00
Job Snijders
a931b9d12b Resolve merge conflict 2019-12-22 17:15:05 +01:00
Peter Schoenmaker
03e3b11d95 Fix memory leaks 2019-12-22 16:05:05 +01:00
Job Snijders
858c6f99b2 Merge pull request #12 from rewbycraft/feature/gh-actions
Add Linux CI
2019-12-21 16:00:33 +01:00
Roelf Wichertjes
2f8e7283e7 Add matrix builds. 2019-12-17 12:29:57 +01:00
Roelf Wichertjes
e8d261b572 First try at github actions. 2019-12-17 11:03:31 +01:00
Job Snijders
954b12d3f7 Merge pull request #11 from rewbycraft/feature/autotools-openbsd
Add BSD support to bootstrap.
2019-12-17 05:26:46 +01:00
Roelf Wichertjes
064e8ce58b Add BSD support to bootstrap. 2019-12-16 20:56:18 +01:00