diff options
author | 2007-10-16 08:43:44 +0000 | |
---|---|---|
committer | 2007-10-16 08:43:44 +0000 | |
commit | 0104e4033c072d8667f726eab1eed5e768863418 (patch) | |
tree | d9e5ff95dc3e2cdd31bff2b7acf6c8267d940039 /usr.sbin/ospf6ctl/parser.h | |
parent | First step at making kroute IPv6 aware. This resulted in many additional (diff) | |
download | wireguard-openbsd-0104e4033c072d8667f726eab1eed5e768863418.tar.xz wireguard-openbsd-0104e4033c072d8667f726eab1eed5e768863418.zip |
Adapt to the changes in ospf6d. Fix more IPv6 addressing and probably break
some currently not working commands but show interface and show neighbor should
work.
OK norby@
Diffstat (limited to 'usr.sbin/ospf6ctl/parser.h')
-rw-r--r-- | usr.sbin/ospf6ctl/parser.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ospf6ctl/parser.h b/usr.sbin/ospf6ctl/parser.h index 58820e269e9..fe3e9be8e8a 100644 --- a/usr.sbin/ospf6ctl/parser.h +++ b/usr.sbin/ospf6ctl/parser.h @@ -1,4 +1,4 @@ -/* $OpenBSD: parser.h,v 1.1 2007/10/12 08:22:53 norby Exp $ */ +/* $OpenBSD: parser.h,v 1.2 2007/10/16 08:43:44 claudio Exp $ */ /* * Copyright (c) 2004 Esben Norby <norby@openbsd.org> @@ -51,7 +51,7 @@ enum actions { }; struct parse_result { - struct in_addr addr; + struct in6_addr addr; char ifname[IF_NAMESIZE]; int flags; enum actions action; @@ -61,8 +61,8 @@ struct parse_result { struct parse_result *parse(int, char *[]); const struct token *match_token(const char *, const struct token []); void show_valid_args(const struct token []); -int parse_addr(const char *, struct in_addr *); -int parse_prefix(const char *, struct in_addr *, +int parse_addr(const char *, struct in6_addr *); +int parse_prefix(const char *, struct in6_addr *, u_int8_t *); #endif /* _PARSER_H_ */ |