artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5143226
)
Fix last commit. addr is already a pointer.
author
claudio
<claudio@openbsd.org>
Wed, 22 Jun 2022 12:27:46 +0000
(12:27 +0000)
committer
claudio
<claudio@openbsd.org>
Wed, 22 Jun 2022 12:27:46 +0000
(12:27 +0000)
Noticed by anton@
usr.sbin/bgpctl/parser.c
patch
|
blob
|
history
diff --git
a/usr.sbin/bgpctl/parser.c
b/usr.sbin/bgpctl/parser.c
index
17cfe1a
..
ce861f6
100644
(file)
--- a/
usr.sbin/bgpctl/parser.c
+++ b/
usr.sbin/bgpctl/parser.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: parser.c,v 1.11
2 2022/06/21 10:05:48
claudio Exp $ */
+/* $OpenBSD: parser.c,v 1.11
3 2022/06/22 12:27:46
claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@
-977,7
+977,7
@@
parse_prefix(const char *word, size_t wordlen, struct bgpd_addr *addr,
return (0);
}
- applymask(
&addr, &
addr, mask);
+ applymask(
addr,
addr, mask);
*prefixlen = mask;
return (1);
}