diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2022-01-04 17:54:44 +0100 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2022-01-12 18:24:25 +0100 |
| commit | 6fff2cc620f7762c550b1fe458d35e339608c464 (patch) | |
| tree | dfa2ecc90125b010c84c93890b3331d9af887def /pimd/pim_oil.h | |
| parent | bedc005a7ae9fd9e087f69a55f30daf47ff9d4a9 (diff) | |
pimd: `prefix_sg` => `pim_sgaddr`
Mostly just 2 sed calls:
- `sed -e 's%struct prefix_sg%pim_sgaddr%g'`
- `sed -e 's%memset(&sg, 0, sizeof(pim_sgaddr));%memset(\&sg, 0, sizeof(sg));%g'`
Plus a bunch of fixing whatever that broke.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'pimd/pim_oil.h')
| -rw-r--r-- | pimd/pim_oil.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pimd/pim_oil.h b/pimd/pim_oil.h index af8ac84594..696ef70645 100644 --- a/pimd/pim_oil.h +++ b/pimd/pim_oil.h @@ -123,10 +123,9 @@ void pim_oil_terminate(struct pim_instance *pim); void pim_channel_oil_free(struct channel_oil *c_oil); struct channel_oil *pim_find_channel_oil(struct pim_instance *pim, - struct prefix_sg *sg); + pim_sgaddr *sg); struct channel_oil *pim_channel_oil_add(struct pim_instance *pim, - struct prefix_sg *sg, - const char *name); + pim_sgaddr *sg, const char *name); void pim_channel_oil_change_iif(struct pim_instance *pim, struct channel_oil *c_oil, int input_vif_index, const char *name); |
