~ubuntu-branches/ubuntu/gutsy/gdhcpd/gutsy

« back to all changes in this revision

Viewing changes to src/status_update.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2006-11-26 10:59:00 UTC
  • mfrom: (3.1.3 feisty)
  • Revision ID: james.westby@ubuntu.com-20061126105900-ds7bx3lgjj2l6l1l
Tags: 0.3.1-2
* Adjusting the icondir.
* Makeing use of su-to-root in the desktop file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* GDHCPD, a GTK+ frontend for ISC DHCPD
2
 
 * Copyright C 2004, 2005 Magnus Loef <magnus-swe@telia.com> 
 
2
 * Copyright C 2004, 2005, 2006 Magnus Loef <magnus-swe@telia.com>
3
3
 *
4
4
 * This program is free software; you can redistribute it and/or modify
5
5
 * it under the terms of the GNU General Public License as published by
30
30
#include "widgets.h"
31
31
#include "gettext.h"
32
32
 
33
 
 
34
33
extern int activated;
35
34
 
36
35
 
37
36
 
38
 
int status_update(struct gdhcpd_widgets *widgets)
 
37
int status_update(struct w *widgets)
39
38
{
40
39
    struct sockaddr_in myaddr;
41
40
    int port=67; /* ipv4 */