<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
<div class="moz-text-flowed" style="font-family: -moz-fixed;
font-size: 14px;" lang="x-western"> I want to log a few specific
things about DHCP assignments, and I've got most of what I want.
<br>
<br>
log(info, concat( "RID",
<br>
binary-to-ascii(16,8,":",option
agent.remote-id),
<br>
"-CID",
<br>
binary-to-ascii(16,8,":",option
agent.circuit-id),
<br>
"-IP",
<br>
binary-to-ascii(10,8,".",leased-address)
<br>
)
<br>
);
<br>
<br>
To this I want to also add the IP address of the relay agent we
got the initial request from. I would want something similar to
an "option agent.relay-ip". Is there any such thing? Is there
any other way to log that?
<br>
<br>
I do of course get "DHCPDISCOVER from <MAC> via <relay
agent>" lines, but I was hoping to get everything on one line.
If I can't then I can't, no biggie.
<br>
<br>
<br>
</div>
</body>
</html>