diff options
Diffstat (limited to 'channels/chan_skinny.c')
-rw-r--r-- | channels/chan_skinny.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/channels/chan_skinny.c b/channels/chan_skinny.c index 8b0a6130b..83b1b4523 100644 --- a/channels/chan_skinny.c +++ b/channels/chan_skinny.c @@ -3219,17 +3219,6 @@ static struct skinny_device *build_device(const char *cat, struct ast_variable * if (/*d->addr.sin_addr.s_addr && */!ntohs(d->addr.sin_port)) { d->addr.sin_port = htons(DEFAULT_SKINNY_PORT); } -#if 0 - /* I don't think we need this anymore at all, since d->ourip is set in skinny_register now */ - if (d->addr.sin_addr.s_addr) { - /* XXX See note above, in 'host' option. */ - if (ast_ouraddrfor(&d->addr.sin_addr, &d->ourip)) { - d->ourip = __ourip; - } - } else { - d->ourip = __ourip; - } -#endif } return d; } |