diff options
Diffstat (limited to 'sysdep/unix/krt.c')
-rw-r--r-- | sysdep/unix/krt.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/sysdep/unix/krt.c b/sysdep/unix/krt.c index efdf4bdd..cfb623ce 100644 --- a/sysdep/unix/krt.c +++ b/sysdep/unix/krt.c @@ -1191,7 +1191,7 @@ krt_copy_config(struct proto_config *dest, struct proto_config *src) } static int -krt_get_attr(eattr * a, byte * buf, int buflen UNUSED) +krt_get_attr(eattr *a, byte *buf, int buflen) { switch (a->id) { @@ -1203,16 +1203,8 @@ krt_get_attr(eattr * a, byte * buf, int buflen UNUSED) bsprintf(buf, "metric"); return GA_NAME; - case EA_KRT_PREFSRC: - bsprintf(buf, "prefsrc"); - return GA_NAME; - - case EA_KRT_REALM: - bsprintf(buf, "realm"); - return GA_NAME; - default: - return GA_UNKNOWN; + return krt_sys_get_attr(a, buf, buflen); } } |