diff options
| author | Roy Marples <roy@marples.name> | 2016-09-15 10:36:58 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2016-09-15 10:36:58 +0000 |
| commit | 3fa8525c3bfe478a111c6ab3061092b9831128c0 (patch) | |
| tree | 9c6d8aac61024b33e1da6a1df3efa295e53030ad /if-bsd.c | |
| parent | 14602bba9626c69b21622474b1b937ff4bbeb413 (diff) | |
| download | dhcpcd-3fa8525c3bfe478a111c6ab3061092b9831128c0.tar.xz | |
Ignore RTM versions we don't know.
Diffstat (limited to 'if-bsd.c')
| -rw-r--r-- | if-bsd.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1502,6 +1502,9 @@ static void if_dispatch(struct dhcpcd_ctx *ctx, const struct rt_msghdr *rtm) { + if (rtm->rtm_version != RTM_VERSION) + return; + switch(rtm->rtm_type) { #ifdef RTM_IFANNOUNCE case RTM_IFANNOUNCE: |
