projects
/
l2tpns.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Forgot to remove a prototype.
[l2tpns.git]
/
bgp.c
diff --git
a/bgp.c
b/bgp.c
index
eca1518
..
c5abe7a
100644
(file)
--- a/
bgp.c
+++ b/
bgp.c
@@
-29,7
+29,6
@@
char const *cvs_id_bgp = "$Id: bgp.c,v 1.12 2005/09/02 23:39:36 bodea Exp $";
static void bgp_clear(struct bgp_peer *peer);
static void bgp_set_retry(struct bgp_peer *peer);
static void bgp_clear(struct bgp_peer *peer);
static void bgp_set_retry(struct bgp_peer *peer);
-static void bgp_cidr(in_addr_t ip, int prefixlen, struct bgp_ip_prefix *pfx);
static struct bgp_route_list *bgp_insert_route(struct bgp_route_list *head,
struct bgp_route_list *new);
static struct bgp_route_list *bgp_insert_route(struct bgp_route_list *head,
struct bgp_route_list *new);
@@
-415,7
+414,7
@@
int bgp_del_route(in_addr_t ip, int prefixlen)
struct bgp_route_list del;
int i;
struct bgp_route_list del;
int i;
- del.dest.
ip
= ip;
+ del.dest.
prefix
= ip;
del.dest.len = prefixlen;
del.next = 0;
del.dest.len = prefixlen;
del.next = 0;