diff options
Diffstat (limited to 'sysdep/linux/netlink/krt-scan.h')
-rw-r--r-- | sysdep/linux/netlink/krt-scan.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sysdep/linux/netlink/krt-scan.h b/sysdep/linux/netlink/krt-scan.h index cdfe4443..ec10a7fe 100644 --- a/sysdep/linux/netlink/krt-scan.h +++ b/sysdep/linux/netlink/krt-scan.h @@ -1,7 +1,7 @@ /* * BIRD -- Linux Kernel Netlink Route Syncer -- Scanning * - * (c) 1998--1999 Martin Mares <mj@ucw.cz> + * (c) 1998--2000 Martin Mares <mj@ucw.cz> * * Can be freely distributed and used under the terms of the GNU GPL. */ @@ -30,4 +30,9 @@ struct krt_scan_status { list temp_ifs; /* Temporary interfaces */ }; +static inline int krt_scan_params_same(struct krt_scan_params *o, struct krt_scan_params *n) +{ + return o->async == n->async && o->table_id == n->table_id; +} + #endif |