mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-hlr.git
synced 2025-11-03 05:33:28 +00:00
Rename dns_{de,en}code_* -> osmo_mdns_{de,en}code_*
Change-Id: Ib270fc640e0e73cdb4b7c2090672d1117230b74b
This commit is contained in:
committed by
Neels Hofmeyr
parent
2975bcbc2f
commit
f91e26ed02
@@ -73,7 +73,7 @@ static void osmo_mslookup_server_mdns_tx(struct osmo_mslookup_server_mdns *serve
|
||||
}
|
||||
|
||||
msg = msgb_alloc(1024, __func__);
|
||||
if (dns_encode_answer(ctx, msg, &ans)) {
|
||||
if (osmo_mdns_encode_answer(ctx, msg, &ans)) {
|
||||
errmsg = "Error encoding DNS answer packet";
|
||||
goto clean_and_exit;
|
||||
}
|
||||
@@ -121,7 +121,7 @@ static int osmo_mslookup_server_mdns_rx(struct osmo_fd *osmo_fd, unsigned int wh
|
||||
return n;
|
||||
|
||||
ctx = talloc_named_const(server, 0, __func__);
|
||||
req = dns_decode_request(ctx, buffer, n);
|
||||
req = osmo_mdns_decode_request(ctx, buffer, n);
|
||||
if (!req) {
|
||||
LOGP(DDGSM, LOGL_DEBUG, "mDNS rx: ignoring: not a request\n");
|
||||
talloc_free(ctx);
|
||||
|
||||
Reference in New Issue
Block a user