diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-10-25 11:03:41 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-10-25 11:03:41 -0400 |
| commit | a37ef435e9514a455931ddbac090e9bea0943bb5 (patch) | |
| tree | 2b8961d346e6e9dbda16c41ae301bfce4a4c2b82 /zebra/main.c | |
| parent | 3a30f50f3ff40888caddc75b04f915fa0d5456c4 (diff) | |
zebra: Store packets to process in `struct zebra_t`
Store the number of packets we should process at
one time in `struct zebra_t`. A future commit
will allow the user to control this via
a hidden cli.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/main.c')
| -rw-r--r-- | zebra/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/main.c b/zebra/main.c index 5a2979c866..cf677a7753 100644 --- a/zebra/main.c +++ b/zebra/main.c @@ -53,6 +53,7 @@ /* Zebra instance */ struct zebra_t zebrad = { .rtm_table_default = 0, + .packets_to_process = ZEBRA_ZAPI_PACKETS_TO_PROCESS, }; /* process id. */ |
